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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tom dot anheyer at tay-tec dot de
New email:
PHP Version: OS:

 

 [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