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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 07:00:02 2026 UTC