php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27520 parse-error if using var-name: "$status-typ"
Submitted: 2004-03-07 14:30 UTC Modified: 2004-03-07 14:51 UTC
From: akorthaus at web dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.4 OS: RedHat Linux (Kernel 2.4)
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: akorthaus at web dot de
New email:
PHP Version: OS:

 

 [2004-03-07 14:30 UTC] akorthaus at web dot de
Description:
------------
If I run the following Script (Apache 1.3.29, mod_php):

<?php
$status-typ='hello';
?>

I get: Parse error: parse error in /path/to/php/script.php on line 2

Reproduce code:
---------------
<?php
$status-typ='hello';
?>

Expected result:
----------------
empty page

Actual result:
--------------
Parse error: parse error in /path/to/php/script.php on line 2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-07 14:51 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 07:00:01 2025 UTC