php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4225 script silently dies when using global ($var) instead of global $var
Submitted: 2000-04-24 07:47 UTC Modified: 2000-08-01 16:58 UTC
From: ilya at vtrails dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.16 OS: Linux
Private report: No CVE-ID: None
 [2000-04-24 07:47 UTC] ilya at vtrails dot com
function f()
{
  global ($x);
}

will die without an error message.

configure line is --with-sybase=/opt/sybase

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-01 16:58 UTC] hholzgra@php.net
with 3.0.16 i get:

Parse error:  parse error, expecting `'$'' in ... on line ...

you should check your error_reporting settings

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 21:00:01 2026 UTC