xref: /PHP-7.3/ext/soap/tests/bug73452.phpt (revision 4805be1d)
1--TEST--
2Bug #73452 Segfault (Regression for #69152)
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8$data = 'O:9:"SoapFault":4:{s:9:"faultcode";i:4298448493;s:11:"faultstring";i:4298448543;s:7:"'."\0*\0".'file";i:4298447319;s:7:"'."\0*\0".'line";s:4:"ryat";}';
9echo unserialize($data);
10
11?>
12==DONE==
13--EXPECTF--
14SoapFault exception: [4298448493] 4298448543 in :0
15Stack trace:
16#0 %sbug73452.php(4): unserialize('O:9:"SoapFault"...')
17#1 {main}==DONE==
18