1--TEST--
2Bug #66094 (unregister_tick_function tries to cast a Closure to a string)
3--FILE--
4<?php
5declare(ticks=1);
6register_tick_function($closure = function () { echo "Tick!\n"; });
7unregister_tick_function($closure);
8echo "done";
9?>
10--EXPECT--
11Tick!
12done
13