3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); ob_implicit_flush(1); ob_implicit_flush(true);
based on X5XPD
Output for 7.0.0 - 7.2.6
Fatal error: Uncaught TypeError: ob_implicit_flush() expects parameter 1 to be integer, boolean given in /in/1ojb4:7 Stack trace: #0 /in/1ojb4(7): ob_implicit_flush(true) #1 {main} thrown in /in/1ojb4 on line 7
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught TypeError: Argument 1 passed to ob_implicit_flush() must be an instance of bool, int given in /in/1ojb4:-1 Stack trace: #0 /in/1ojb4(-1): ob_implicit_flush() #1 {main}
Process exited with code 255.
Output for hhvm-3.19.2 - 3.21.3
Fatal error: Uncaught TypeError: Argument 1 passed to ob_implicit_flush() must be an instance of bool, int given in /in/1ojb4:5 Stack trace: #0 /in/1ojb4(5): ob_implicit_flush() #1 {main}
Process exited with code 255.
Output for hhvm-3.11.1 - 3.18.5
Fatal error: Uncaught TypeError: Argument 1 passed to ob_implicit_flush() must be an instance of bool, int given in /in/1ojb4:5 Stack trace: #0 {main}
Process exited with code 255.
Output for 4.3.0 - 5.2.17, hhvm-3.10.1
Output for 5.3.0 - 5.6.30
Warning: Unsupported declare 'strict_types' in /in/1ojb4 on line 3