xref: /PHP-8.0/ext/spl/tests/bug77359.phpt (revision 89bf3df6)
1--TEST--
2Bug #77359: spl_autoload causes segfault
3--FILE--
4<?php
5
6$str = "foo";
7$str .= "bar";
8spl_autoload($str);
9spl_autoload($str);
10var_dump($str);
11
12?>
13--EXPECT--
14string(6) "foobar"
15