3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = [1,2] + [3,4]; echo $a;
Output for 8.2.31 - 8.2.32, 8.3.0 - 8.3.32, 8.4.1 - 8.4.23, 8.5.0 - 8.5.8
Warning: Array to string conversion in /in/nuRjH on line 4 Array

preferences:
31.36 ms | 766 KiB | 4 Q