Bug #78554 [NEW]: tokenzier changed behavior

From: Date: Tue, 17 Sep 2019 15:19:00 +0000
Subject: Bug #78554 [NEW]: tokenzier changed behavior
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222787@lists.php.net to get a copy of this message
From: bugreports at gmail dot com Operating system: PHP version: 7.4Git-2019-09-17 (Git) Package: Unknown/Other Function Bug Type: Bug Bug description:tokenzier changed behavior Description: ------------ check failed in autotests/custom/code-coverage.php on line 103 Test script: --------------- /** tokenizer */ if(function_exists('token_get_all') === TRUE) { if(base64_encode(serialize(token_get_all('<?php echo; ?>'))) !== 'YTo1OntpOjA7YTozOntpOjA7aTozNzk7aToxO3M6NjoiPD9waHAgIjtpOjI7aToxO31pOjE7YTozOntpOjA7aTozMjg7aToxO3M6NDoiZWNobyI7aToyO2k6MTt9aToyO3M6MToiOyI7aTozO2E6Mzp7aTowO2k6MzgyO2k6MTtzOjE6IiAiO2k6MjtpOjE7fWk6NDthOjM6e2k6MDtpOjM4MTtpOjE7czoyOiI/PiI7aToyO2k6MTt9fQ==') { trigger_error('check failed'); $exit_code = 1; } } -- Edit bug report at https://bugs.php.net/bug.php?id=78554&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78554&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78554&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78554&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78554&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78554&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78554&r=support Expected behavior: https://bugs.php.net/fix.php?id=78554&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78554&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78554&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78554&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78554&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78554&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78554&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78554&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78554&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78554&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78554&r=mysqlcfg

« previous php.bugs (#222787) next »