Bug #67726 [Asn->Csd]: Hex line number in error output

From: Date: Thu, 11 Sep 2014 17:11:39 +0000
Subject: Bug #67726 [Asn->Csd]: Hex line number in error output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187521@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67726&edit=1 ID: 67726 Updated by: ab@php.net Reported by: mbeccati@php.net Summary: Hex line number in error output -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem Operating System: Linux PHP Version: str_size_and_int64 branch Assigned To: ab Block user comment: N Private report: N New Comment: Matteo, thanks for keeping track of that branch. This issue was probably due to wrong datatype used with %pd format. As it was merged with master, the line number datatypes wasn't touched, so I'm quite sure this issue will not be present. Thus I'll close this ticket. Feel free to reopen if I'm wrong. Thanks Anatol Previous Comments: ------------------------------------------------------------------------ [2014-07-31 13:48:22] mbeccati@php.net Description: ------------ During the daily run of the PHPUnit tests on my CI box, the int64 branch started to consistently fail during one test. https://revive.beccati.com/bamboo/browse/PHP-PHPUN-PI64-65/test/case/13177490 as the line number in the error message is not a decimal integer: Call to undefined function undefined_function() in /home/atlassian/bamboo/xml-data/build-dir/PHP-PHPUN-PI64/tests/Regression/GitHub/1340/Issue1340Test.php on line 0x3eu In fact the call is happening at line 62 (0x3e). Test script: --------------- git clone git@github.com:sebastianbergmann/phpunit.git cd phpunit # Using grep here to filter out uninteresting bits $INT64PATH/bin/php phpunit tests/Regression/GitHub/1340/Issue1340Test.php 2>&1 | grep undefined Expected result: ---------------- PHPUnit_Framework_Exception: PHP Fatal error: Call to undefined function undefined_function() in /home/atlassian/bamboo/xml-data/build-dir/PHP-PHPUN-PI64/tests/Regression/GitHub/1340/Issue1340Test.php on line 62 Fatal error: Call to undefined function undefined_function() in /home/atlassian/bamboo/xml-data/build-dir/PHP-PHPUN-PI64/tests/Regression/GitHub/1340/Issue1340Test.php on line 62 Actual result: -------------- PHPUnit_Framework_Exception: Fatal error: Call to undefined function undefined_function() in /home/atlassian/bamboo/xml-data/build-dir/PHP-PHPUN-PI64/tests/Regression/GitHub/1340/Issue1340Test.php on line 0x3eu ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67726&edit=1

« previous php.bugs (#187521) next »