mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
There's a bugs directory but it wasn't always used, move the regression tests to this directory.
19 lines
501 B
PHP
19 lines
501 B
PHP
--TEST--
|
|
Bug #73452 Segfault (Regression for #69152)
|
|
--EXTENSIONS--
|
|
soap
|
|
--FILE--
|
|
<?php
|
|
|
|
$data = 'O:9:"SoapFault":4:{s:9:"faultcode";i:4298448493;s:11:"faultstring";i:4298448543;s:7:"'."\0*\0".'file";s:0:"";s:7:"'."\0*\0".'line";i:0;}';
|
|
echo unserialize($data);
|
|
|
|
?>
|
|
==DONE==
|
|
--EXPECTF--
|
|
Fatal error: Uncaught TypeError: Cannot assign %s to property SoapFault::$faultcode of type ?string in %s:%d
|
|
Stack trace:
|
|
#0 %sbug73452.php(4): unserialize('O:9:"SoapFault"...')
|
|
#1 {main}
|
|
thrown in %s on line %d
|