php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51901 tests/classes/constants_error_004.phpt
Submitted: 2010-05-24 18:03 UTC Modified: 2010-11-22 06:09 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: fedora at famillecollet dot com Assigned: cataphract (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 5.3SVN-2010-05-24 (snap) OS: Linux (Fedora 13)
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: fedora at famillecollet dot com
New email:
PHP Version: OS:

 

 [2010-05-24 18:03 UTC] fedora at famillecollet dot com
Description:
------------
Error message seems have changed


Test script:
---------------
$ TEST_PHP_EXECUTABLE=$(which php) \
 php run-tests.php tests/classes/constants_error_004.phpt


Expected result:
----------------
Tests passed    :    1 (100.0%) (100.0%)

Actual result:
--------------
Tests failed    :    1 (100.0%) (100.0%)

$ cat tests/classes/constants_error_004.diff
001+ Fatal error: Class 'D' not found in /tmp/php5.3-201005241430/tests/classes/constants_error_004.php on line 7
001- Fatal error: Undefined class constant 'D::hello' in %s on line %d 


Patches

trivial (last revision 2010-05-24 16:04 UTC by fedora at famillecollet dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-22 06:09 UTC] cataphract@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cataphract
 [2010-11-22 06:09 UTC] cataphract@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-11-22 06:10 UTC] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=305635
Log: - Fix tests for \0 patch in PHP 5.3.
- Fix constants_error_004.phpt (closes bug #51901)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 15:01:35 2025 UTC