3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('EXPIRY_NOTIFICATION_TIME', 60 * 60 * 24 * 14); $now = time(); $s = '...date >'; $s2 = ' AND...'; echo $s . $now + EXPIRY_NOTIFICATION_TIME . $s2;

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.2.110.0030.01316.75
7.2.60.0030.01016.82
7.2.00.0040.00819.13
7.1.200.0000.01015.50
7.1.100.0060.00918.06
7.1.70.0050.00317.31
7.1.60.0090.01319.30
7.1.50.0000.02016.92
7.1.00.0030.07722.36
7.0.200.0030.00516.88
7.0.90.0070.04719.91
7.0.80.0100.08019.84
7.0.70.0100.07719.86
7.0.60.0170.04020.05
7.0.50.0100.07720.32
7.0.40.0200.07320.15
7.0.30.0030.09320.13
7.0.20.0000.09320.19
7.0.10.0030.07720.18
7.0.00.0070.05320.07
5.6.280.0000.06321.10
5.6.240.0070.08320.60
5.6.230.0070.07720.49
5.6.220.0100.07020.57
5.6.210.0100.04720.57
5.6.200.0100.05321.06
5.6.190.0030.08721.08
5.6.180.0030.08721.05
5.6.170.0070.06721.01
5.6.160.0030.08721.07
5.6.150.0170.07021.04
5.6.140.0070.08721.08
5.6.130.0100.04321.09
5.6.120.0000.08721.05
5.6.110.0000.05720.93
5.6.100.0000.08721.03
5.6.90.0000.04321.07
5.6.80.0100.07020.48
5.6.70.0170.06720.45
5.6.60.0000.07720.38
5.6.50.0030.03720.55
5.6.40.0070.03320.39
5.6.30.0130.05020.38
5.6.20.0070.07720.28
5.6.10.0000.04720.48
5.6.00.0030.08020.47
5.5.380.0000.04720.37
5.5.370.0030.07320.49
5.5.360.0070.08720.30
5.5.350.0070.05020.44
5.5.340.0070.08320.82
5.5.330.0200.07320.92
5.5.320.0030.04720.82
5.5.310.0030.10020.91
5.5.300.0100.05320.79
5.5.290.0100.07020.88
5.5.280.0100.04720.89
5.5.270.0100.04320.86
5.5.260.0000.08720.77
5.5.250.0030.06720.69
5.5.240.0070.07320.15
5.5.230.0070.07320.13
5.5.220.0100.04320.25
5.5.210.0130.07020.29
5.5.200.0000.08320.21
5.5.190.0070.04020.10
5.5.180.0070.07720.23
5.5.160.0070.04320.07
5.5.150.0070.07720.17
5.5.140.0100.03720.10
5.5.130.0130.05020.20
5.5.120.0030.06720.26
5.5.110.0070.05020.09
5.5.100.0070.08320.04
5.5.90.0070.04320.14
5.5.80.0100.06720.14
5.5.70.0100.04320.10
5.5.60.0070.04020.05
5.5.50.0070.03719.95
5.5.40.0000.04719.95
5.5.30.0070.03720.12
5.5.20.0070.05019.94
5.5.10.0030.04019.97
5.5.00.0030.04020.04

preferences:
28.65 ms | 400 KiB | 5 Q