3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); strlen();
based on 1U0i5
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught ArgumentCountError: strlen() expects exactly 1 parameter, 0 given in /in/bkpVM:3 Stack trace: #0 /in/bkpVM(3): strlen() #1 {main} thrown in /in/bkpVM on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Fatal error: Uncaught TypeError: strlen() expects exactly 1 parameter, 0 given in /in/bkpVM:3 Stack trace: #0 /in/bkpVM(3): strlen() #1 {main} thrown in /in/bkpVM on line 3
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/bkpVM on line 2 Warning: strlen() expects exactly 1 parameter, 0 given in /in/bkpVM on line 3