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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ilya at vtrails dot com
New email:
PHP Version: OS:

 

 [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: Wed Oct 14 00:00:02 2026 UTC