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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 27 04:01:25 2020 UTC