php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3732 Parse error while using 'use' as a function name
Submitted: 2000-03-05 11:56 UTC Modified: 2000-03-05 12:17 UTC
From: tom dot anheyer at tay-tec dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux 2.2.14, apache 1.3.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
26 + 20 = ?
Subscribe to this entry?

 
 [2000-03-05 11:56 UTC] tom dot anheyer at tay-tec dot de
<?
function use ($fasel)
{
  echo "use($fasel)\n";
}

use("blubber");
?>

doesn't work but give:

parse error, expecting `T_STRING'



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 10:01:31 2024 UTC