3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_avatar($required){} get_avatar();
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.29, 8.0.0 - 8.0.19, 8.1.0 - 8.1.6
Fatal error: Uncaught ArgumentCountError: Too few arguments to function get_avatar(), 0 passed in /in/CKni6 on line 4 and exactly 1 expected in /in/CKni6:3 Stack trace: #0 /in/CKni6(4): get_avatar() #1 {main} thrown in /in/CKni6 on line 3
Process exited with code 255.

preferences:
61.12 ms | 410 KiB | 5 Q