3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php declare( ticks = 1 ); function tick_handler () { echo "tick_handler() выполнено <br>" . PHP_EOL; } register_tick_function( 'tick_handler' ); $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a; $a;
Output for 5.6.12 - 5.6.28, 7.0.0 - 7.1.0
tick_handler() выполнено <br>
Output for hhvm-3.12.0
Fatal error: Call to undefined function register_tick_function() in /in/U0qkr on line 9
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.1.0 - 5.6.11
tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br> tick_handler() выполнено <br>
Output for 5.0.4 - 5.0.5
tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 11 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 12 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 13 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 14 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 15 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 16 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 17 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 18 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 19 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 20 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 21 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 22 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 23 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 24 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 25 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 26 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 27 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 28 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 29 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 30 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 31 tick_handler() выполнено <br>
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.0.3
tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 11 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 12 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 13 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 14 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 15 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 16 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 17 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 18 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 19 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 20 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 21 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 22 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 23 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 24 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 25 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 26 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 27 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 28 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 29 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 30 tick_handler() выполнено <br> Notice: Undefined variable: a in /in/U0qkr on line 31 tick_handler() выполнено <br>
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 11 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 13 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 14 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 15 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 16 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 17 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 18 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 20 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 21 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 22 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 23 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 24 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 25 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 26 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 27 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 28 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 30 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL Notice: Undefined variable: a in /in/U0qkr on line 31 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/U0qkr on line 6 tick_handler() выполнено <br>PHP_EOL