Edit report at http://bugs.php.net/bug.php?id=42994&edit=1

 ID:               42994
 Comment by:       sb at lia dot ch
 Reported by:      arnout at argeweb dot nl
 Summary:          is_callable and __autoload
 Status:           No Feedback
 Type:             Bug
 Package:          Unknown/Other Function
 Operating System: BSD
 PHP Version:      5.2.4

 New Comment:

I've seen the same thing on PHP 5.2.9 FreeBSD 7.1-RELEASE-p3:



  <?

  function __autoload($class){ print "trying to load $class\n"; }



  class foo {}



  is_callable(array("foo", "bar"));

  ?>



And I get



  trying to load ffe

  trying to load ffe



Instead of no output.


Previous Comments:
------------------------------------------------------------------------
[2007-10-25 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2007-10-17 09:00:45] [email protected]

In case plain PHP works report it to the FreeBSD guys.

Please keep this bug on "Feedback" till you tested it with clean
sources.

------------------------------------------------------------------------
[2007-10-17 08:46:32] arnout at argeweb dot nl

"no FreeBSD patches or something"



I asked the sysadmin.

It has probably been patched by ports. I'll try to get a clean version
but that might take a while.



I'll try the snapshot too.



If it's the freebsd ports that messes up where do I need to go to get it
fixed?

------------------------------------------------------------------------
[2007-10-17 07:55:14] [email protected]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

For me it works fine. Please make sure you're using proper source - no
FreeBSD patches or something.

------------------------------------------------------------------------
[2007-10-17 07:22:20] arnout at argeweb dot nl

I tried both 5.2.3 and 5.2.4.



5.2.3:



apache_mod on apache 2.0, FreeBSD 6.2-RELEASE-p5, can't turn zend
optimizer off there.





5.2.4:



Tried with Zend optimizer on and off.

php 5.2.4 apache_mod on apache 2.2

OS: FreeBSD 6.2-RELEASE-p3



'./configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
'--program-prefix=' '--disable-cgi' '--with-apxs2=/usr/local/sbin/apxs'
'--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
'--prefix=/usr/local' '--mandir=/usr/local/man'
'--infodir=/usr/local/info/'



I hope that helps...

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=42994


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=42994&edit=1

Reply via email to