3v4l.org

run code in 500+ PHP versions simultaneously
<?php array_keys([], strict: true);
Output for 8.2.31 - 8.2.35, 8.3.0 - 8.3.36, 8.4.1 - 8.4.27, 8.5.0 - 8.5.12
Fatal error: Uncaught ArgumentCountError: array_keys(): Argument #2 ($filter_value) must be passed explicitly, because the default value is not known in /in/Kl9M1:3 Stack trace: #0 /in/Kl9M1(3): array_keys(Array, NULL, true) #1 {main} thrown in /in/Kl9M1 on line 3
Process exited with code 255.

preferences:
35.95 ms | 1507 KiB | 8 Q