xref: /PHP-8.0/Zend/tests/bug47880.phpt (revision 82b86c1c)
1--TEST--
2Bug #47880 (crashes in call_user_func_array())
3--FILE--
4<?php
5class bomb {
6  static function go($n)	{
7   $backtrace = debug_backtrace(false);
8   $backtrace[1]['args'][1] = 'bomb';
9  }
10}
11call_user_func_array(array('bomb', 'go'), array(0));
12echo "ok\n";
13?>
14--EXPECT--
15ok
16