3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $test; try { $test->ping(); } catch (Exception $e) { throw new Exception('Service database connection unsuccessful'). } ?>

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.170.0080.04312.38
5.4.160.0110.03912.38
5.4.150.0090.04312.38
5.4.140.0110.05512.07
5.4.130.0130.04212.05
5.4.120.0100.04812.02
5.4.110.0140.04612.01
5.4.100.0140.04312.01
5.4.90.0150.04812.01
5.4.80.0130.04612.01
5.4.70.0140.04312.00
5.4.60.0110.04112.00
5.4.50.0100.04612.00
5.4.40.0100.03911.99
5.4.30.0080.04211.99
5.4.20.0120.04611.98
5.4.10.0080.04011.99
5.4.00.0100.04011.48
5.3.270.0130.04112.73
5.3.260.0080.04712.72
5.3.250.0140.04912.72
5.3.240.0120.04112.72
5.3.230.0100.04212.71
5.3.220.0180.07412.68
5.3.210.0100.04412.68
5.3.200.0100.04112.68
5.3.190.0110.04412.68
5.3.180.0150.04912.67
5.3.170.0110.04412.67
5.3.160.0100.04612.67
5.3.150.0130.04812.67
5.3.140.0120.04212.66
5.3.130.0160.04912.66
5.3.120.0120.04412.66
5.3.110.0110.04712.66
5.3.100.0110.04412.12
5.3.90.0120.04412.08
5.3.80.0110.04512.08
5.3.70.0150.04112.08
5.3.60.0130.04312.07
5.3.50.0120.04112.00
5.3.40.0160.05512.00
5.3.30.0070.04311.95
5.3.20.0110.03911.73
5.3.10.0090.04011.69
5.3.00.0110.04111.68

preferences:
135.16 ms | 1394 KiB | 7 Q