xref: /PHP-8.2/Zend/tests/bug81076.phpt (revision 213063f6)
1--TEST--
2Bug #81076 Invalid implicit binds cause incorrect static var count in closure debug info
3--FILE--
4<?php
5var_dump(fn() => [$why, $do, $we, $count]);
6?>
7--EXPECT--
8object(Closure)#1 (0) {
9}
10