3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('d M, Y', strtotime('today'))."\n"; if(date('j', strtotime('today')) === '1') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '2') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '3') echo date('jS', strtotime('today'));

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)
8.3.60.0120.00316.72
8.3.50.0100.00722.07
8.3.40.0120.00318.84
8.3.30.0070.00718.93
8.3.20.0060.00320.14
8.3.10.0080.00023.70
8.3.00.0050.00319.79
8.2.180.0140.01118.16
8.2.170.0040.01122.96
8.2.160.0100.00720.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00821.00
8.2.120.0000.00826.35
8.2.110.0070.01420.52
8.2.100.0120.00017.80
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0070.00320.48
8.2.30.0050.00220.52
8.2.20.0000.00817.82
8.2.10.0040.00418.02
8.2.00.0070.00017.91
8.1.280.0100.00325.92
8.1.270.0150.00320.38
8.1.260.0070.00028.09
8.1.250.0120.00828.09
8.1.240.0060.00323.97
8.1.230.0100.00017.70
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0060.00317.48
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0040.00418.78
8.1.160.0040.00420.82
8.1.150.0040.00418.91
8.1.140.0030.00519.51
8.1.130.0000.00717.67
8.1.120.0000.00717.52
8.1.110.0040.00417.48
8.1.100.0000.00817.65
8.1.90.0040.00417.58
8.1.80.0040.00417.59
8.1.70.0000.00817.47
8.1.60.0030.00617.67
8.1.50.0060.00317.66
8.1.40.0000.00817.62
8.1.30.0000.00817.63
8.1.20.0080.00017.68
8.1.10.0040.00417.62
8.1.00.0000.00817.65
8.0.300.0040.00418.77
8.0.290.0030.00616.88
8.0.280.0000.00818.51
8.0.270.0000.00717.33
8.0.260.0000.00617.18
8.0.250.0030.00317.09
8.0.240.0060.00017.13
8.0.230.0040.00417.09
8.0.220.0040.00416.96
8.0.210.0000.00716.95
8.0.200.0030.00317.01
8.0.190.0070.00317.11
8.0.180.0030.00517.06
8.0.170.0040.00416.96
8.0.160.0000.00817.01
8.0.150.0030.00317.00
8.0.140.0000.00916.98
8.0.130.0000.00513.43
8.0.120.0050.00316.92
8.0.110.0040.00417.07
8.0.100.0040.00416.89
8.0.90.0070.00017.03
8.0.80.0100.00617.11
8.0.70.0040.00417.05
8.0.60.0000.00716.93
8.0.50.0000.00817.00
8.0.30.0080.00717.08
8.0.20.0120.00917.41
8.0.10.0040.00416.96
8.0.00.0100.00916.85
7.4.330.0000.00516.89
7.4.320.0020.00516.62
7.4.300.0070.00016.51
7.4.290.0000.00716.69
7.4.280.0060.00316.64
7.4.270.0080.00016.58
7.4.260.0040.00616.71
7.4.250.0040.00416.55
7.4.240.0000.00716.59
7.4.230.0030.00316.34
7.4.220.0130.00716.69
7.4.210.0060.00916.79
7.4.200.0070.00016.49
7.4.160.0030.01316.69
7.4.150.0090.01217.40
7.4.140.0150.00617.86
7.4.130.0030.01716.55
7.4.120.0200.00516.70
7.4.110.0110.00616.70
7.4.100.0150.00916.54
7.4.90.0030.01316.68
7.4.80.0090.00919.39
7.4.70.0100.00616.58
7.4.60.0060.01516.57
7.4.50.0090.00616.69
7.4.40.0110.01116.56
7.4.30.0160.00616.64
7.4.00.0090.00314.94
7.3.330.0060.00313.31
7.3.320.0030.00313.25
7.3.310.0000.00716.18
7.3.300.0030.00316.29
7.3.290.0090.00816.31
7.3.280.0060.00916.36
7.3.270.0100.01017.40
7.3.260.0080.00816.29
7.3.250.0120.00516.51
7.3.240.0130.00616.57
7.3.230.0100.00716.45
7.3.210.0060.01616.36
7.3.200.0180.00616.43
7.3.190.0100.00716.23
7.3.180.0130.00616.36
7.3.170.0100.00716.40
7.3.160.0120.00616.57
7.2.330.0100.00916.60
7.2.320.0130.00716.88
7.2.310.0030.01416.85
7.2.300.0100.01316.68
7.2.290.0060.01216.45
7.2.60.0100.00716.98
7.2.00.0340.00419.30
7.1.200.0040.00715.92
7.1.100.0030.01317.98
7.1.70.0000.01117.08
7.1.60.0110.01419.13
7.1.50.0140.02134.94
7.1.00.0030.07722.27
7.0.200.0080.00316.53
7.0.100.0100.04720.02
7.0.90.0070.08719.94
7.0.80.0100.08319.87
7.0.70.0270.07019.84
7.0.60.0070.08319.90
7.0.50.0200.07320.25
7.0.40.0000.04020.06
7.0.30.0070.08020.03
7.0.20.0170.07720.09
7.0.10.0030.07720.02
7.0.00.0030.06319.98
5.6.280.0100.05020.78
5.6.250.0030.09320.53
5.6.240.0170.08020.59
5.6.230.0130.08020.68
5.6.220.0130.07720.52
5.6.210.0070.07720.49
5.6.200.0100.08721.11
5.6.190.0070.03721.01
5.6.180.0100.08021.10
5.6.170.0070.07321.03
5.6.160.0130.08021.03
5.6.150.0100.04320.98
5.6.140.0170.07320.94
5.6.130.0130.08020.97
5.6.120.0130.07720.96
5.6.110.0100.08321.00
5.6.100.0000.06721.05
5.6.90.0030.05720.98
5.6.80.0070.07320.39
5.6.70.0070.04320.44
5.6.60.0070.06320.40
5.6.50.0070.04320.33
5.6.40.0070.05020.43
5.6.30.0170.07720.39
5.6.20.0100.07320.28
5.6.10.0130.07320.26
5.6.00.0030.08320.46
5.5.380.0100.08720.38
5.5.370.0130.06720.36
5.5.360.0070.08720.39
5.5.350.0170.07720.45
5.5.340.0070.07320.91
5.5.330.0030.04020.93
5.5.320.0070.08020.88
5.5.310.0130.06720.86
5.5.300.0030.08020.64
5.5.290.0130.07720.74
5.5.280.0130.07320.87
5.5.270.0070.05020.84
5.5.260.0030.09020.81
5.5.250.0070.07720.57
5.5.240.0030.04320.28
5.5.230.0170.07320.24
5.5.220.0000.05320.20
5.5.210.0070.05720.29
5.5.200.0030.08320.09
5.5.190.0070.04020.16
5.5.180.0170.08320.17
5.5.160.0130.07020.16
5.5.150.0070.07320.19
5.5.140.0100.07320.08
5.5.130.0030.07020.19
5.5.120.0200.07020.12
5.5.110.0170.06720.13
5.5.100.0100.06719.95
5.5.90.0170.06020.06
5.5.80.0130.07320.13
5.5.70.0070.06320.04
5.5.60.0100.07719.99
5.5.50.0130.04320.02
5.5.40.0200.07020.07
5.5.30.0070.07320.13
5.5.20.0070.08020.02
5.5.10.0130.06319.94
5.5.00.0070.07320.06

preferences:
31.3 ms | 401 KiB | 5 Q