3v4l.org

run code in 300+ PHP versions simultaneously
<?php $imie = 20; $nazwisko = 10; echo $imie . $nazwisko; if ($imie > $nazwisko) { echo "Imie wieksze od nazwiska"; }else{ echo "Dupa"; } ?>

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.0070.00718.43
8.3.50.0100.01021.14
8.3.40.0130.00718.84
8.3.30.0030.01918.77
8.3.20.0000.00720.07
8.3.10.0060.00320.59
8.3.00.0040.00419.26
8.2.180.0090.00616.50
8.2.170.0140.00722.96
8.2.160.0000.01420.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00422.27
8.2.110.0060.00320.48
8.2.100.0110.00017.91
8.2.90.0030.00519.08
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0000.01117.90
8.2.50.0040.00418.07
8.2.40.0000.00718.16
8.2.30.0040.00418.04
8.2.20.0040.00417.67
8.2.10.0020.00518.03
8.2.00.0040.00417.59
8.1.280.0140.00325.92
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.96
8.1.230.0130.00019.10
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0040.00417.36
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0020.00521.94
8.1.150.0040.00418.72
8.1.140.0070.00017.43
8.1.130.0030.00317.80
8.1.120.0000.00717.41
8.1.110.0000.00717.36
8.1.100.0040.00417.40
8.1.90.0030.00317.43
8.1.80.0070.00017.34
8.1.70.0030.00317.30
8.1.60.0040.00417.45
8.1.50.0040.00417.45
8.1.40.0060.00317.44
8.1.30.0000.00917.50
8.1.20.0070.00417.57
8.1.10.0040.00417.35
8.1.00.0000.00717.48
8.0.300.0050.00318.77
8.0.290.0040.00416.88
8.0.280.0070.00018.43
8.0.270.0030.00317.13
8.0.260.0060.00017.21
8.0.250.0000.00716.84
8.0.240.0050.00316.96
8.0.230.0070.00016.84
8.0.220.0000.00716.90
8.0.210.0030.00316.91
8.0.200.0030.00316.98
8.0.190.0050.00316.87
8.0.180.0040.00416.77
8.0.170.0080.00016.98
8.0.160.0000.00716.76
8.0.150.0070.00016.88
8.0.140.0040.00416.74
8.0.130.0030.00313.27
8.0.120.0080.00016.82
8.0.110.0000.00716.89
8.0.100.0030.00316.87
8.0.90.0000.00716.87
8.0.80.0040.01116.77
8.0.70.0040.00416.86
8.0.60.0040.00416.84
8.0.50.0050.00316.92
8.0.30.0100.01116.91
8.0.20.0130.00617.40
8.0.10.0050.00216.84
8.0.00.0100.00716.91
7.4.330.0000.00515.14
7.4.320.0030.00316.45
7.4.300.0070.00016.47
7.4.290.0060.00016.47
7.4.280.0000.00816.52
7.4.270.0040.00416.43
7.4.260.0040.00416.40
7.4.250.0000.00816.49
7.4.240.0030.00416.42
7.4.230.0030.00316.46
7.4.220.0090.00916.59
7.4.210.0130.00016.49
7.4.200.0000.00716.39
7.4.160.0040.01116.50
7.4.150.0040.01417.40
7.4.140.0100.01017.86
7.4.130.0070.01016.39
7.4.120.0100.00716.36
7.4.110.0170.00016.52
7.4.100.0130.00416.41
7.4.90.0000.01816.45
7.4.80.0130.01019.39
7.4.70.0130.00616.39
7.4.60.0090.00616.55
7.4.50.0000.00516.29
7.4.40.0120.00616.30
7.4.30.0120.00616.55
7.4.10.0070.01014.67
7.4.00.0070.01014.81
7.3.330.0000.00613.09
7.3.320.0000.00513.00
7.3.310.0070.00016.05
7.3.300.0060.00016.23
7.3.290.0080.00516.27
7.3.280.0070.01016.21
7.3.270.0210.00317.40
7.3.260.0130.01016.34
7.3.250.0070.01216.13
7.3.240.0160.00016.43
7.3.230.0070.01016.39
7.3.210.0120.00616.40
7.3.200.0140.00919.39
7.3.190.0100.00616.23
7.3.180.0060.01216.38
7.3.170.0100.00516.46
7.3.160.0130.00316.14
7.3.130.0040.01114.70
7.3.120.0040.01414.95
7.3.110.0040.01614.81
7.3.100.0060.01314.67
7.3.90.0110.00714.77
7.3.80.0000.01014.92
7.3.70.0070.01014.75
7.3.60.0030.01014.76
7.3.50.0060.01214.84
7.3.40.0050.00514.82
7.3.30.0000.01414.57
7.3.20.0080.00616.30
7.3.10.0030.00616.32
7.3.00.0000.01316.50
7.2.330.0160.00616.35
7.2.320.0120.00316.48
7.2.310.0070.01016.38
7.2.300.0170.00016.71
7.2.290.0100.00716.36
7.2.260.0040.01514.79
7.2.250.0070.01014.84
7.2.240.0000.01515.09
7.2.230.0070.01415.02
7.2.220.0080.00815.02
7.2.210.0090.00314.62
7.2.200.0110.00414.89
7.2.190.0030.01014.98
7.2.180.0030.00914.70
7.2.170.0000.00914.96
7.2.160.0100.00315.13
7.2.150.0140.00416.89
7.2.140.0110.00417.12
7.2.130.0070.00716.78
7.2.120.0030.01416.76
7.2.110.0090.00616.99
7.2.100.0100.00017.05
7.2.90.0060.00316.98
7.2.80.0000.01516.82
7.2.70.0070.00716.94
7.2.60.0020.01116.86
7.2.50.0030.01316.79
7.2.40.0040.01216.91
7.2.30.0000.01416.71
7.2.20.0070.00716.46
7.2.10.0070.01016.97
7.2.00.0060.01316.87
7.1.330.0070.00715.71
7.1.320.0100.01015.45
7.1.310.0070.00715.79
7.1.300.0100.00315.32
7.1.290.0090.00315.73
7.1.280.0090.00015.71
7.1.270.0120.00315.55
7.1.260.0100.00715.39
7.1.250.0030.00615.82
7.1.240.0100.00715.77
7.1.230.0100.00715.52
7.1.220.0000.01315.90
7.1.210.0030.01015.46
7.1.200.0100.00315.82
7.1.190.0030.00915.73
7.1.180.0030.00615.71
7.1.170.0090.00615.86
7.1.160.0040.00715.63
7.1.150.0040.00815.88
7.1.140.0070.00715.63
7.1.130.0070.00715.60
7.1.120.0030.01415.81
7.1.110.0100.00715.65
7.1.100.0090.00615.67
7.1.90.0060.00915.61
7.1.80.0080.00615.59
7.1.70.0040.00716.40
7.1.60.0030.01417.49
7.1.50.0020.01516.06
7.1.40.0080.00315.77
7.1.30.0060.00315.41
7.1.20.0000.00915.43
7.1.10.0030.01015.80
7.1.00.0030.04019.06
7.0.330.0030.00715.21
7.0.320.0140.00015.11
7.0.310.0070.00715.30
7.0.300.0000.01415.54
7.0.290.0000.01415.42
7.0.280.0120.00015.16
7.0.270.0070.01015.18
7.0.260.0130.00315.17
7.0.250.0030.00515.09
7.0.240.0090.00615.49
7.0.230.0070.00715.53
7.0.220.0100.00315.41
7.0.210.0070.00715.18
7.0.200.0060.00416.05
7.0.190.0030.01015.44
7.0.180.0070.00315.29
7.0.170.0030.01015.32
7.0.160.0040.01115.41
7.0.150.0030.01315.12
7.0.140.0050.04018.79
7.0.130.0030.00915.58
7.0.120.0090.00615.57
7.0.110.0030.00615.21
7.0.100.0060.00315.38
7.0.90.0040.00415.18
7.0.80.0040.01115.18
7.0.70.0000.00815.53
7.0.60.0080.04017.62
7.0.50.0060.04516.61
7.0.40.0080.04516.91
7.0.30.0200.02216.87
7.0.20.0150.04216.86
7.0.10.0040.02716.86
7.0.00.0070.04416.84
5.6.400.0030.00914.36
5.6.390.0090.00413.93
5.6.380.0000.01514.59
5.6.370.0030.01014.23
5.6.360.0030.01014.61
5.6.350.0080.00014.38
5.6.340.0120.00414.56
5.6.330.0070.00414.23
5.6.320.0110.00414.39
5.6.310.0090.00314.09
5.6.300.0030.00514.19
5.6.290.0070.00314.43
5.6.280.0030.03917.59
5.6.270.0040.00714.20
5.6.260.0100.00014.45
5.6.250.0030.00714.59
5.6.240.0000.01414.54
5.6.230.0000.01414.41
5.6.220.0000.01014.34
5.6.210.0070.02217.38
5.6.200.0020.03616.41
5.6.190.0050.02417.34
5.6.180.0230.02217.39
5.6.170.0230.04117.30
5.6.160.0020.03517.60
5.6.150.0030.03216.31
5.6.140.0050.03416.29
5.6.130.0080.02016.23
5.6.120.0050.05017.44
5.6.110.0050.04817.58
5.6.100.0050.02817.46
5.6.90.0030.03417.67
5.6.80.0050.03017.30
5.6.70.0070.00414.03
5.6.60.0080.00414.28
5.6.50.0000.01514.34
5.6.40.0030.00614.05
5.6.30.0040.00914.02
5.6.20.0060.00614.30
5.6.10.0080.00414.23
5.6.00.0080.00614.40
5.5.380.0110.00414.37
5.5.370.0070.00714.52
5.5.360.0030.00713.97
5.5.350.0100.03717.36
5.5.340.0030.04515.96
5.5.330.0070.03817.44
5.5.320.0150.02717.16
5.5.310.0180.03217.29
5.5.300.0070.03216.00
5.5.290.0090.04416.05
5.5.280.0100.04317.57
5.5.270.0100.04617.71
5.5.260.0070.03717.54
5.5.250.0070.02917.32
5.5.240.0130.03217.23
5.5.230.0080.00614.38
5.5.220.0000.01114.31
5.5.210.0080.00314.21
5.5.200.0040.00714.47
5.5.190.0000.01313.98
5.5.180.0050.00514.32
5.5.170.0040.01413.99
5.5.160.0040.01114.07
5.5.150.0060.00614.32
5.5.140.0070.00714.28
5.5.130.0030.00914.25
5.5.120.0070.01014.32
5.5.110.0070.00713.69
5.5.100.0070.00413.96
5.5.90.0030.00714.24
5.5.80.0030.01014.23
5.5.70.0000.01114.14
5.5.60.0030.00914.32
5.5.50.0000.01314.22
5.5.40.0030.00613.99
5.5.30.0000.00814.38
5.5.20.0080.00013.79
5.5.10.0060.00313.71
5.5.00.0060.00914.22
5.4.450.0350.03715.27
5.4.440.0430.03115.29
5.4.430.0560.03115.23
5.4.420.0360.00215.14
5.4.410.0340.00415.24
5.4.400.0360.00215.00
5.4.390.0350.00214.96
5.4.380.0330.00314.99
5.4.370.0350.00215.01
5.4.360.0400.00514.87
5.4.350.0360.00214.94
5.4.340.0350.00215.07
5.4.330.0030.00811.04
5.4.320.0070.02111.65
5.4.310.0050.02111.69
5.4.300.0030.02111.56
5.4.290.0030.02111.65
5.4.280.0060.01911.62
5.4.270.0050.02011.73
5.4.260.0030.02411.61
5.4.250.0050.02111.73
5.4.240.0060.01811.54
5.4.230.0060.01911.58
5.4.220.0050.02011.75
5.4.210.0020.02311.65
5.4.200.0040.02311.66
5.4.190.0050.02011.57
5.4.180.0050.02111.57
5.4.170.0080.02011.80
5.4.160.0050.02011.66
5.4.150.0070.02011.63
5.4.140.0070.02111.47
5.4.130.0020.02311.51
5.4.120.0050.01911.44
5.4.110.0070.01911.44
5.4.100.0070.02011.48
5.4.90.0040.02511.32
5.4.80.0060.02211.37
5.4.70.0030.02311.32
5.4.60.0030.02311.41
5.4.50.0050.02211.46
5.4.40.0100.01711.47
5.4.30.0030.02511.50
5.4.20.0080.01811.45
5.4.10.0060.02011.38
5.4.00.0040.02311.21
5.3.290.0050.04112.80
5.3.280.0070.04712.71
5.3.270.0060.03812.72
5.3.260.0090.03712.71
5.3.250.0060.03612.71
5.3.240.0080.03512.72
5.3.230.0050.03712.71
5.3.220.0090.03312.68
5.3.210.0030.04012.68
5.3.200.0090.03312.68
5.3.190.0060.03712.68
5.3.180.0070.04912.67
5.3.170.0080.03312.66
5.3.160.0050.03812.67
5.3.150.0040.03912.68
5.3.140.0060.03612.66
5.3.130.0100.03412.66
5.3.120.0060.03712.66
5.3.110.0100.03312.66
5.3.100.0070.03612.12
5.3.90.0050.03912.08
5.3.80.0060.03512.07
5.3.70.0070.04312.08
5.3.60.0070.03712.07
5.3.50.0090.03412.00
5.3.40.0030.03812.00
5.3.30.0080.03211.94
5.3.20.0050.03611.72
5.3.10.0050.03511.69
5.3.00.0070.04511.68
5.2.170.0040.0319.18
5.2.160.0050.0289.18
5.2.150.0030.0319.18
5.2.140.0040.0319.18
5.2.130.0050.0299.13
5.2.120.0020.0309.14
5.2.110.0060.0279.14
5.2.100.0030.0299.13
5.2.90.0030.0299.13
5.2.80.0020.0329.13
5.2.70.0050.0299.13
5.2.60.0040.0309.08
5.2.50.0050.0299.05
5.2.40.0040.0299.03
5.2.30.0020.0329.00
5.2.20.0040.0298.99
5.2.10.0060.0268.93
5.2.00.0020.0318.79
5.1.60.0030.0258.08
5.1.50.0050.0238.07
5.1.40.0040.0248.05
5.1.30.0070.0228.41
5.1.20.0070.0238.42
5.1.10.0030.0268.15
5.1.00.0040.0258.15
5.0.50.0040.0206.63
5.0.40.0050.0176.48
5.0.30.0030.0316.30
5.0.20.0020.0206.27
5.0.10.0040.0196.25
5.0.00.0030.0316.23
4.4.90.0020.0164.78
4.4.80.0040.0144.75
4.4.70.0020.0164.76
4.4.60.0030.0154.76
4.4.50.0010.0174.77
4.4.40.0040.0274.71
4.4.30.0010.0204.76
4.4.20.0010.0214.84
4.4.10.0050.0144.85
4.4.00.0060.0214.76
4.3.110.0040.0144.67
4.3.100.0050.0124.66
4.3.90.0020.0154.63
4.3.80.0020.0244.58
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0020.0164.63
4.3.40.0020.0244.54
4.3.30.0010.0173.29
4.3.20.0010.0173.27
4.3.10.0030.0143.23
4.3.00.0030.01316.50

preferences:
45.58 ms | 400 KiB | 5 Q