3v4l.org

run code in 300+ PHP versions simultaneously
<?php print (time() - strtotime('today at 9:00am'));

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)
7.4.00.0070.00714.77
7.3.120.0060.01315.03
7.3.110.0090.00914.86
7.3.100.0070.00714.73
7.3.90.0000.00914.95
7.3.80.0070.00414.77
7.3.70.0070.01114.93
7.3.60.0100.00014.98
7.3.50.0090.00314.73
7.3.40.0030.01014.78
7.3.30.0100.00314.84
7.3.20.0070.00716.68
7.3.10.0080.00916.51
7.3.00.0130.00416.58
7.2.250.0090.00915.07
7.2.240.0050.01315.15
7.2.230.0090.00615.10
7.2.220.0030.00915.39
7.2.210.0120.00315.18
7.2.200.0030.00914.63
7.2.190.0060.00915.04
7.2.180.0060.00914.93
7.2.170.0030.01215.06
7.2.130.0100.00516.70
7.2.120.0130.00716.73
7.2.110.0030.01316.29
7.2.100.0000.01416.68
7.2.90.0120.00616.62
7.2.80.0060.01216.43
7.2.70.0080.01116.84
7.2.60.0080.01116.91
7.2.50.0200.00716.79
7.2.40.0070.01416.65
7.2.30.0090.01416.60
7.2.20.0150.00616.78
7.2.10.0170.00216.58
7.2.00.0090.00918.27
7.1.330.0060.00615.73
7.1.320.0080.00416.10
7.1.310.0030.01015.86
7.1.300.0090.00615.87
7.1.290.0090.00615.51
7.1.280.0030.00915.97
7.1.270.0070.00315.69
7.1.260.0040.00415.91
7.1.250.0110.00415.75
7.1.200.0070.00315.73
7.1.100.0030.00618.35
7.1.70.0000.00817.40
7.1.60.0100.01319.48
7.1.50.0040.00716.75
7.1.00.0070.07322.48
7.0.200.0680.00715.04
7.0.100.0170.05020.02
7.0.90.0100.05019.93
7.0.80.0130.08019.90
7.0.70.0100.07719.95
7.0.60.0030.06719.91
7.0.50.0100.08020.30
7.0.40.0030.08720.04
7.0.30.0070.06720.08
7.0.20.0100.07020.18
7.0.10.0130.09320.11
7.0.00.0100.07020.09
5.6.280.0070.03021.09
5.6.250.0130.04020.74
5.6.240.0100.03720.68
5.6.230.0100.08320.61
5.6.220.0130.07320.66
5.6.210.0130.06720.66
5.6.200.0070.08321.07
5.6.190.0070.08021.09
5.6.180.0070.09021.12
5.6.170.0100.07321.01
5.6.160.0000.08721.05
5.6.150.0070.07320.99
5.6.140.0170.06721.02
5.6.130.0100.06320.94
5.6.120.0000.08021.08
5.6.110.0070.08320.92
5.6.100.0130.08020.94
5.6.90.0100.04721.01
5.6.80.0100.07720.43
5.6.70.0070.06320.38
5.6.60.0030.08020.49
5.6.50.0170.06320.51
5.6.40.0070.08020.30
5.6.30.0070.08020.36
5.6.20.0100.05320.45
5.6.10.0070.05320.30
5.6.00.0070.07720.41
5.5.380.0100.06320.39
5.5.370.0000.05020.53
5.5.360.0130.08020.34
5.5.350.0100.07320.36
5.5.340.0100.08020.91
5.5.330.0130.07720.86
5.5.320.0070.04020.83
5.5.310.0100.08320.63
5.5.300.0100.08020.79
5.5.290.0170.07020.86
5.5.280.0070.08320.77
5.5.270.0100.08320.76
5.5.260.0100.08720.86
5.5.250.0100.08020.67
5.5.240.0130.07320.18
5.5.230.0030.05020.29
5.5.220.0170.07320.23
5.5.210.0100.07320.16
5.5.200.0000.05720.23
5.5.190.0070.07020.20
5.5.180.0200.07020.21
5.5.160.0170.06020.24
5.5.150.0070.07020.21
5.5.140.0200.04020.09
5.5.130.0130.07320.13
5.5.120.0030.08720.23
5.5.110.0030.06020.25
5.5.100.0000.04720.07
5.5.90.0000.08320.06
5.5.80.0070.07719.95
5.5.70.0130.07720.08
5.5.60.0100.07020.14
5.5.50.0100.06720.10
5.5.40.0070.08020.13
5.5.30.0100.07720.13
5.5.20.0100.07720.02
5.5.10.0130.04320.03
5.5.00.0070.04020.10

preferences:
31.82 ms | 401 KiB | 5 Q