php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56996 perl-1.0.0 Embedded Perl only works on command line
Submitted: 2006-05-02 17:45 UTC Modified: 2017-10-24 09:10 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ch3141 at mchis dot com Assigned:
Status: Suspended Package: perl (PECL)
PHP Version: 5.0.4 OS: Solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ch3141 at mchis dot com
New email:
PHP Version: OS:

 

 [2006-05-02 17:45 UTC] ch3141 at mchis dot com
Description:
------------
Embedded Perl perl-1.0.0 returns nothing via web browser.

  

Reproduce code:
---------------
   <?php

    ob_start();
    $perl = new Perl();
    $perl->require("test1.pl");
    $out = ob_get_contents();
    ob_end_clean();
    print "Perl: $out";
    print "PHP: Hello from php!\n";

    ?>

Expected result:
----------------
Perl: hello from perl!!!!
PHP: Hello from php!

Actual result:
--------------
Nothing... but when executed at the command line script works as expected. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 09:10 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:10 UTC] kalle@php.net
The perl package has had no activity for at least 4 years, so I'm gonna consider it dead. If a new maintainer decides to pick this back up, he/she can re-open the report
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 20:01:30 2025 UTC