Date: 04/20/98
- Next message: steve <email protected>: "[PHP-DEV] Bug #290: FlexSafe.h not found"
- Previous message: Bug Database: "[PHP-DEV] Bug #288 Updated: Problem with mysql_pconnect()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: kk <email protected>
Operating system: Solaris 2.5.1
PHP version: 3.0 Release Candidate 4
PHP Bug Type: Performance problem
Bug description:
Function calls with a variable name work as exspected when
called by a simple expression:
-----
<?php
function name_lang() {
printf("I am a function\n");
}
$x = "name";
$y = "_lang";
$z = $x.$y;
$z();
Content-type: text/html
I am a function
-----
But PHP fails to parse the () function call operator in the
following environment:
-----
($x.$y)();
<br>
<b>Parse error</b>: parse error in <b>-</b> on line <b>11</b><br>
-----
- Next message: steve <email protected>: "[PHP-DEV] Bug #290: FlexSafe.h not found"
- Previous message: Bug Database: "[PHP-DEV] Bug #288 Updated: Problem with mysql_pconnect()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

