From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.5,RedHat 2.4.7,Win XP
PHP version:      4.1.2
PHP Bug Type:     Variables related
Bug description:  `print' variable function call fails.

According to the official PHP documentation
[http://www.php.net/manual/en/functions.variable-functions.php] the
language construct `print' can be called as a variable function.  The
following code should therefore be valid:

$myfunc = 'print';
$myfunc('My text to print');

Attempting to execute this code on any platform returns a "Fatal error:
Call to undefined function:  print()" message.
-- 
Edit bug report at http://bugs.php.net/?id=16739&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16739&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16739&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16739&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16739&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16739&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16739&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16739&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16739&r=submittedtwice

Reply via email to