php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74 new doesn't accept variables.
Submitted: 1998-02-16 15:33 UTC Modified: 1998-02-19 23:12 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: paudley+php3 at gt dot ca Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0 Latest CVS 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: paudley+php3 at gt dot ca
New email:
PHP Version: OS:

 

 [1998-02-16 15:33 UTC] paudley+php3 at gt dot ca
The following fails:

<?php

class test_object {
};

$name = "test_object";
$object = new $name;
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-19 23:12 UTC] zeev
NEW was enhanced to accept any expression.
 [2022-03-02 18:43 UTC] git@php.net
Automatic comment on behalf of saundefined (author) and web-flow (committer)
Revision: https://github.com/php/doc-de/commit/9889dbd9776be4ef33a57ea00463a466b24f91ab
Log: Update to English version (#73)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC