3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); strtotime("midnight", $now)

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.6.80.0000.04320.48
5.5.240.0300.06020.28
5.4.400.0270.05718.50
5.4.390.0430.06718.72
5.4.380.0570.06018.66
5.4.370.0330.06018.70
5.4.360.0370.05718.47
5.4.350.0470.06718.59
5.4.340.0470.06718.73
5.4.320.0330.06318.65
5.4.310.0330.06018.83
5.4.300.0600.06318.59
5.4.290.0600.06318.50
5.4.280.0630.06718.44
5.4.270.0400.08318.66
5.4.260.0370.07318.82
5.4.250.0630.06318.72
5.4.240.0370.07018.74
5.4.230.0530.05318.57
5.4.220.0570.06318.61
5.4.210.0400.07018.71
5.4.200.0370.05316.55
5.4.190.0430.06318.45
5.4.180.0470.06018.49
5.4.170.0470.05318.61
5.4.160.0300.05018.74
5.4.150.0300.04718.47
5.4.140.0170.05716.18
5.4.130.0270.06316.30
5.4.120.0530.05016.17
5.4.110.0430.05716.16
5.4.100.0530.05016.22
5.4.90.0470.04716.31
5.4.80.0430.05016.30
5.4.70.0270.06716.29
5.4.60.0470.04716.14
5.4.50.0470.06016.02
5.4.40.0470.06716.23
5.4.30.0370.05316.33
5.4.20.0430.07016.00
5.4.10.0470.05716.21
5.4.00.0300.07015.71
5.3.290.0500.07014.63
5.3.280.0430.06714.60
5.3.270.0470.07014.59
5.3.260.0600.07314.54
5.3.250.0370.07314.61
5.3.240.0400.07014.50
5.3.230.0370.06714.56
5.3.220.0270.06014.48
5.3.210.0370.08014.48
5.3.200.0400.07314.48
5.3.190.0500.07014.48
5.3.180.0330.09314.57
5.3.170.0300.07014.47
5.3.160.0300.06014.55
5.3.150.0470.08714.47
5.3.140.0530.06714.55
5.3.130.0430.07714.63
5.3.120.0370.07714.58
5.3.110.0300.07714.46
5.3.100.0430.05714.13
5.3.90.0300.07014.05
5.3.80.0470.07713.99
5.3.70.0570.06013.99
5.3.60.0530.06714.00
5.3.50.0400.06313.95
5.3.40.0470.06013.89
5.3.30.0330.04313.84
5.3.20.0200.05013.60
5.3.10.0230.06013.73
5.3.00.0230.06013.75
5.2.170.0270.06011.20
5.2.160.0270.04311.12
5.2.150.0330.05011.07
5.2.140.0130.05711.06
5.2.130.0370.04011.01
5.2.120.0330.05011.07
5.2.110.0500.03711.25
5.2.100.0400.04011.14
5.2.90.0230.06311.05
5.2.80.0230.05711.13
5.2.70.0330.06011.07
5.2.60.0300.05711.11
5.2.50.0230.04711.05
5.2.40.0430.04011.04
5.2.30.0170.06310.89
5.2.20.0230.04710.87
5.2.10.0230.05010.85
5.2.00.0300.05310.87
5.1.60.0270.0409.95
5.1.50.0200.04310.00
5.1.40.0200.0409.93
5.1.30.0170.04310.34
5.1.20.0200.05010.37
5.1.10.0230.05010.20
5.1.00.0200.05710.10
5.0.50.0200.0378.56
5.0.40.0070.0438.43
5.0.30.0170.0508.26
5.0.20.0200.0378.20
5.0.10.0070.0478.37
5.0.00.0030.0678.26
4.4.90.0200.0235.82
4.4.80.0130.0305.90
4.4.70.0100.0235.91
4.4.60.0230.0205.81
4.4.50.0100.0275.93
4.4.40.0100.0405.89
4.4.30.0200.0205.91
4.4.20.0170.0235.98
4.4.10.0170.0305.95
4.4.00.0100.0405.97
4.3.110.0070.0375.80
4.3.100.0170.0305.79
4.3.90.0130.0335.84
4.3.80.0030.0475.88
4.3.70.0100.0275.89
4.3.60.0130.0205.86
4.3.50.0100.0305.80
4.3.40.0030.0475.77
4.3.30.0030.0304.55
4.3.20.0170.0234.53
4.3.10.0030.0304.54
4.3.00.0100.0206.67

preferences:
145.42 ms | 1394 KiB | 7 Q