3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date= date('md'); $cyfra = substr($date, 0,1); if($cyfra == 0) $date = substr($date, 1,4); if (321 <= $date) echo "prawda"; if((321 <= $date) && ($date < 622)) $style = "wiosna"; elseif($date >= 622 && $date < 923) $style = "lato"; elseif($date >= 923 && $date < 1222) $style = "jesien"; elseif(($date < 321) || ($date >= 1222)) $style = "zima"; echo $style;

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.4.20.0090.00017.79
8.4.10.0060.00317.48
8.3.150.0090.00916.42
8.3.140.0080.00018.35
8.3.130.0130.00318.46
8.3.120.0060.00320.81
8.3.110.0090.00016.88
8.3.100.0070.00324.06
8.3.90.0090.00926.77
8.3.80.0090.00318.43
8.3.70.0130.00316.88
8.3.60.0140.00718.43
8.3.50.0150.00721.20
8.3.40.0060.00918.83
8.3.30.0140.00718.58
8.3.20.0040.00420.36
8.3.10.0000.00820.56
8.3.00.0060.00320.68
8.2.270.0070.01117.33
8.2.260.0040.00416.62
8.2.250.0040.00418.39
8.2.240.0000.00818.88
8.2.230.0040.01520.94
8.2.220.0160.00337.54
8.2.210.0040.00426.77
8.2.200.0060.00316.50
8.2.190.0000.01416.58
8.2.180.0060.01218.16
8.2.170.0110.00622.96
8.2.160.0070.01119.19
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00021.07
8.2.110.0100.00020.89
8.2.100.0030.00917.84
8.2.90.0040.00420.63
8.2.80.0000.00820.48
8.2.70.0060.00317.63
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0080.00022.23
8.2.30.0040.00419.37
8.2.20.0040.00417.60
8.2.10.0000.00718.05
8.2.00.0060.00318.05
8.1.310.0000.00818.20
8.1.300.0090.00318.22
8.1.290.0100.00030.84
8.1.280.0110.00425.92
8.1.270.0060.00323.91
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0000.00922.19
8.1.230.0030.00921.04
8.1.220.0090.00017.77
8.1.210.0000.00819.04
8.1.200.0030.00717.35
8.1.190.0040.00417.48
8.1.180.0000.00918.10
8.1.170.0000.00818.74
8.1.160.0070.00020.94
8.1.150.0080.00018.80
8.1.140.0020.00519.63
8.1.130.0070.00017.80
8.1.120.0040.00417.63
8.1.110.0030.00517.47
8.1.100.0050.00217.45
8.1.90.0000.00817.63
8.1.80.0000.00817.61
8.1.70.0030.00317.55
8.1.60.0080.00317.61
8.1.50.0040.00417.58
8.1.40.0060.00317.48
8.1.30.0040.00417.68
8.1.20.0040.00417.61
8.1.10.0070.00417.55
8.1.00.0080.00017.63
8.0.300.0020.00520.03
8.0.290.0040.00416.88
8.0.280.0000.00718.52
8.0.270.0030.00316.95
8.0.260.0040.00417.21
8.0.250.0000.00717.07
8.0.240.0000.00717.09
8.0.230.0000.01017.11
8.0.220.0070.00017.05
8.0.210.0070.00017.02
8.0.200.0000.00717.11
8.0.190.0040.00417.01
8.0.180.0080.00016.89
8.0.170.0040.00416.95
8.0.160.0040.00417.00
8.0.150.0030.00416.85
8.0.140.0040.00716.89
8.0.130.0000.00513.31
8.0.120.0080.00016.95
8.0.110.0020.00516.89
8.0.100.0000.00717.02
8.0.90.0000.00716.86
8.0.80.0130.00316.84
8.0.70.0000.00716.82
8.0.60.0000.00717.07
8.0.50.0040.00416.96
8.0.30.0110.00917.16
8.0.20.0120.01117.44
8.0.10.0080.00017.21
8.0.00.0090.01116.84
7.4.330.0000.00515.16
7.4.320.0030.00316.64
7.4.300.0080.00016.48
7.4.290.0000.00916.61
7.4.280.0000.00916.68
7.4.270.0030.00716.66
7.4.260.0100.00016.48
7.4.250.0050.00216.56
7.4.240.0040.00416.64
7.4.230.0070.00016.48
7.4.220.0060.01916.53
7.4.210.0080.00816.78
7.4.200.0000.00716.69
7.4.160.0040.01116.69
7.4.150.0100.00717.40
7.4.140.0090.01017.86
7.4.130.0100.00816.71
7.4.120.0060.01116.60
7.4.110.0070.01116.61
7.4.100.0110.01016.62
7.4.90.0110.01416.51
7.4.80.0030.01319.39
7.4.70.0080.00816.44
7.4.60.0090.00616.54
7.4.50.0070.01016.70
7.4.40.0000.01616.50
7.4.30.0060.01616.50
7.4.00.0030.01315.21
7.3.330.0050.00212.98
7.3.320.0050.00013.16
7.3.310.0040.00416.31
7.3.300.0040.00416.16
7.3.290.0060.01116.25
7.3.280.0060.00916.21
7.3.270.0140.00317.40
7.3.260.0100.00716.53
7.3.250.0090.01216.55
7.3.240.0060.01116.41
7.3.230.0080.00816.46
7.3.210.0100.00716.59
7.3.200.0060.00916.44
7.3.190.0090.00916.52
7.3.180.0070.01016.67
7.3.170.0080.01016.41
7.3.160.0080.00816.26
7.2.330.0070.01116.81
7.2.320.0130.00516.80
7.2.310.0110.01316.51
7.2.300.0100.00716.84
7.2.290.0110.00516.71
7.2.60.0000.00917.00
7.1.200.0000.00915.64
7.1.100.0000.01118.27
7.1.70.0000.01617.21
7.1.60.0100.01319.23
7.1.00.0130.07322.45
7.0.200.0000.00717.09
7.0.80.0070.08319.92
7.0.70.0230.04320.01
7.0.60.0230.04019.98
7.0.50.0300.07020.38
7.0.40.0100.07720.08
7.0.30.0070.05020.08
7.0.20.0030.04320.04
7.0.10.0070.07719.99
7.0.00.0070.08320.05
5.6.280.0030.07321.09
5.6.230.0070.06720.75
5.6.220.0100.03720.61
5.6.210.0070.04320.64
5.6.200.0130.06321.11
5.6.190.0070.08321.03
5.6.180.0130.07720.88
5.6.170.0070.07021.02
5.6.160.0000.07320.93
5.6.150.0070.08321.10
5.6.140.0000.07021.04
5.6.130.0100.07020.92
5.6.120.0130.07720.95
5.6.110.0030.08321.04
5.6.100.0000.04021.05
5.6.90.0030.04321.06
5.6.80.0070.04020.46
5.6.70.0170.07020.31
5.6.60.0070.06020.32
5.6.50.0030.04320.52
5.6.40.0130.05020.38
5.6.30.0170.04320.36
5.6.20.0130.07020.48
5.6.10.0170.03720.30
5.6.00.0170.06720.39
5.5.370.0030.04320.50
5.5.360.0100.03720.48
5.5.350.0000.04720.37
5.5.340.0070.04720.86
5.5.330.0100.07020.91
5.5.320.0030.04720.64
5.5.310.0070.10720.80
5.5.300.0070.04020.85
5.5.290.0070.08020.92
5.5.280.0170.07320.86
5.5.270.0070.04020.88
5.5.260.0030.05720.86
5.5.250.0030.04320.60
5.5.240.0100.07320.30
5.5.230.0100.08020.15
5.5.220.0170.07020.23
5.5.210.0070.04020.11
5.5.200.0030.07320.27
5.5.190.0030.08320.08
5.5.180.0100.07720.27
5.5.160.0030.08020.25
5.5.150.0130.06720.21
5.5.140.0030.08319.98
5.5.130.0030.08320.17
5.5.120.0000.08320.10
5.5.110.0000.07720.14
5.5.100.0130.07720.08
5.5.90.0070.08020.09
5.5.80.0030.05720.15
5.5.70.0130.07320.07
5.5.60.0000.09020.04
5.5.50.0130.06720.02
5.5.40.0070.09020.09
5.5.30.0070.07020.04
5.5.20.0000.08720.04
5.5.10.0100.06020.04
5.5.00.0070.08020.01

preferences:
68.17 ms | 403 KiB | 5 Q