3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_event_list( $year = date('Y') ) { echo $year; } get_event_list();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.240.0130.03912.39
5.4.230.0210.06412.39
5.4.220.0110.04412.39
5.4.210.0120.04312.39
5.4.200.0220.07812.39
5.4.190.0130.04012.38
5.4.180.0130.03812.38
5.4.170.0250.08712.39
5.4.160.0140.04212.39
5.4.150.0130.04112.38
5.4.140.0250.07312.07
5.4.130.0100.04212.05
5.4.120.0180.06412.02
5.4.110.0150.05212.02
5.4.100.0090.04312.02
5.4.90.0230.05912.02
5.4.80.0130.04112.01
5.4.70.0120.04312.01
5.4.60.0180.06512.01
5.4.50.0100.04112.01
5.4.40.0110.03812.00
5.4.30.0090.04211.99
5.4.20.0100.04211.99
5.4.10.0190.06411.99
5.4.00.0120.04011.49
5.3.280.0130.04312.71
5.3.270.0120.04212.72
5.3.260.0110.04712.72
5.3.250.0110.04912.72
5.3.240.0120.04612.72
5.3.230.0220.06112.71
5.3.220.0130.04612.68
5.3.210.0100.04612.68
5.3.200.0120.05712.68
5.3.190.0130.04312.68
5.3.180.0120.04112.67
5.3.170.0140.04312.67
5.3.160.0120.04712.67
5.3.150.0100.04812.67
5.3.140.0130.04112.66
5.3.130.0130.04312.66
5.3.120.0120.05312.66
5.3.110.0310.07012.66
5.3.100.0110.04312.12
5.3.90.0110.04112.10
5.3.80.0250.07612.08
5.3.70.0120.04512.08
5.3.60.0150.04412.07
5.3.50.0120.04712.01
5.3.40.0120.04512.01
5.3.30.0130.05111.97
5.3.20.0140.04011.75
5.3.10.0120.04111.71
5.3.00.0120.04111.70

preferences:
141.44 ms | 1394 KiB | 7 Q