xref: /PHP-8.1/Zend/tests/bug70187_2.phpt (revision bb4b5063)
1--TEST--
2Bug #70187 (Notice: unserialize(): Unexpected end of serialized data)
3--FILE--
4<?php
5$a = 1;
6unset($a);
7unserialize(serialize($GLOBALS));
8echo "ok\n";
9?>
10--EXPECT--
11ok
12