Test: /Zend/tests/bug79783.phpt - Version 7.4.6        

Bug #79783 Segfault in php_str_replace_common
Submitted: 2020-07-04 02:06:31 Modified: 2020-07-06 07:33:21
From: changochen1 Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 8.0Git-2020-07-04 (Git) OS:

There are 3 different diffs reported by users for this test.

Count Diff
2 (40%)
001+ php: /home/travis/build/acquia/php-src/ext/standard/string.c:4576: php_str_replace_common: Assertion `(zval_get_type(&(*(zcount))) == 10)' failed. 002+ Aborted (core dumped) 003+ 004+ Termsig=6 001- Fatal error: Uncaught Error: Cannot pass parameter 4 by reference in %s:%d 002- Stack trace: 003- #0 {main} 004- thrown in %s on line %d
2 (40%)
001+ Termsig=11 001- Fatal error: Uncaught Error: Cannot pass parameter 4 by reference in %s:%d 002- Stack trace: 003- #0 {main} 004- thrown in %s on line %d
1 (20%)
001+ Segmentation fault (core dumped) 002+ 003+ Termsig=11 001- Fatal error: Uncaught Error: Cannot pass parameter 4 by reference in %s:%d 002- Stack trace: 003- #0 {main} 004- thrown in %s on line %d