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
 [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: Mon Jun 24 12:01:31 2024 UTC