3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($a, $b, $c) { } foo('a', a: 'A', b: 'B');
Output for 8.2.0 - 8.2.29, 8.3.0 - 8.3.26, 8.4.1 - 8.4.13
Fatal error: Uncaught Error: Named parameter $a overwrites previous argument in /in/oVMLC:7 Stack trace: #0 {main} thrown in /in/oVMLC on line 7
Process exited with code 255.

preferences:
56.47 ms | 406 KiB | 5 Q