3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = join(DIRECTORY_SEPARATOR, array('root', 'lib', 'file.php'); var_dump($path);

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.390.0470.04718.79
5.4.380.0370.06018.81
5.4.370.0370.05018.76
5.4.360.0330.07318.71
5.4.350.0530.06718.50
5.4.340.0500.05718.77
5.4.320.0400.05718.61
5.4.310.0530.06018.46
5.4.300.0330.06318.77
5.4.290.0470.05018.54
5.4.280.0400.05318.76
5.4.270.0570.06718.80
5.4.260.0530.06718.75
5.4.250.0430.07718.61
5.4.240.0400.06018.75
5.4.230.0430.05718.57
5.4.220.0370.05718.77
5.4.210.0400.05318.73
5.4.200.0170.06716.64
5.4.190.0430.06318.73
5.4.180.0470.06318.77
5.4.170.0430.05318.78
5.4.160.0400.05318.48
5.4.150.0300.05318.50
5.4.140.0500.04316.29
5.4.130.0530.04716.26
5.4.120.0270.08016.41
5.4.110.0530.06316.28
5.4.100.0300.07016.34
5.4.90.0370.05316.29
5.4.80.0430.05316.26
5.4.70.0270.05316.41
5.4.60.0300.05316.20
5.4.50.0230.07316.28
5.4.40.0470.06716.25
5.4.30.0500.04016.39
5.4.20.0400.04716.40
5.4.10.0470.04016.29
5.4.00.0330.05015.76
5.3.290.0400.06014.67
5.3.280.0230.06014.67
5.3.270.0400.06314.52
5.3.260.0370.06014.60
5.3.250.0270.05314.54
5.3.240.0330.05014.66
5.3.230.0230.06014.50
5.3.220.0330.05014.52
5.3.210.0300.05714.46
5.3.200.0370.05714.67
5.3.190.0600.06014.46
5.3.180.0300.06314.47
5.3.170.0270.06314.51
5.3.160.0230.06014.64
5.3.150.0330.05314.56
5.3.140.0330.04714.50
5.3.130.0370.05714.60
5.3.120.0370.05714.65
5.3.110.0430.04714.53
5.3.100.0430.04313.92
5.3.90.0400.05013.97
5.3.80.0270.05713.93
5.3.70.0270.05713.99
5.3.60.0270.06014.10
5.3.50.0370.04713.94
5.3.40.0130.06313.84
5.3.30.0330.04714.03
5.3.20.0270.04713.68
5.3.10.0200.06013.65
5.3.00.0200.06013.53
5.2.170.0200.05311.11
5.2.160.0330.03311.20
5.2.150.0330.05011.09
5.2.140.0200.04311.09
5.2.130.0230.04311.08
5.2.120.0230.04011.15
5.2.110.0200.05011.10
5.2.100.0330.04711.25
5.2.90.0500.03711.09
5.2.80.0370.05311.16
5.2.70.0330.05711.01
5.2.60.0370.05011.04
5.2.50.0270.04711.02
5.2.40.0330.04711.03
5.2.30.0270.05310.98
5.2.20.0230.04010.91
5.2.10.0270.03710.83
5.2.00.0230.05010.74
5.1.60.0200.0379.98
5.1.50.0130.0439.98
5.1.40.0270.04010.09
5.1.30.0270.03710.31
5.1.20.0200.04310.45
5.1.10.0170.04310.09
5.1.00.0230.04710.08
5.0.50.0130.0278.71
5.0.40.0130.0378.38
5.0.30.0130.0508.34
5.0.20.0270.0238.32
5.0.10.0230.0278.35
5.0.00.0130.0438.17
4.4.90.0070.0235.93
4.4.80.0070.0305.88
4.4.70.0130.0235.87
4.4.60.0100.0275.81
4.4.50.0100.0205.91
4.4.40.0100.0405.86
4.4.30.0100.0335.92
4.4.20.0100.0335.87
4.4.10.0100.0235.97
4.4.00.0070.0405.85
4.3.110.0130.0235.84
4.3.100.0130.0235.82
4.3.90.0070.0235.79
4.3.80.0130.0405.87
4.3.70.0070.0235.91
4.3.60.0130.0235.81
4.3.50.0070.0275.87
4.3.40.0200.0235.76
4.3.30.0030.0235.06
4.3.20.0000.0275.06
4.3.10.0000.0275.06
4.3.00.0070.0206.69

preferences:
142.32 ms | 1394 KiB | 7 Q