xref: /PHP-7.3/Zend/tests/bug75241.phpt (revision b05ff14a)
1--TEST--
2Bug #75241 (Null pointer dereference in zend_mm_alloc_small())
3--FILE--
4<?php
5function eh(){}
6
7set_error_handler('eh');
8
9$d->d = &$d + $d->d/=0;
10var_dump($d);
11?>
12--EXPECT--
13float(INF)
14