3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Set language to desired language $g_lang = 'tr_TR'; putenv("LANG=$g_lang"); setlocale(LC_ALL, $g_lang); class InfoBlob { var $foo; function InfoBlob() { $this->foo = "Foo"; } } echo ('Instantiating an infoBlob with a lowercase i<br>'); $foobar = new infoBlob(); echo ($foobar->foo); echo ('<br>Instantiating an InfoBlob with an uppercase I<br>'); $foobar = new InfoBlob(); echo ($foobar->foo); ?>

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.0200.00316.88
8.3.50.0180.00523.07
8.3.40.0070.01118.68
8.3.30.0040.01119.30
8.3.20.0040.00420.21
8.3.10.0050.00321.95
8.3.00.0110.00017.88
8.2.180.0180.00417.00
8.2.170.0070.00719.07
8.2.160.0070.00720.51
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0100.01026.16
8.2.120.0050.00521.16
8.2.110.0070.00322.24
8.2.100.0100.00318.03
8.2.90.0040.00417.84
8.2.80.0040.00819.64
8.2.70.0000.01217.88
8.2.60.0040.00418.30
8.2.50.0050.00518.16
8.2.40.0030.00622.52
8.2.30.0000.00818.19
8.2.20.0050.00517.93
8.2.10.0030.00618.22
8.2.00.0070.00017.94
8.1.280.0150.01125.92
8.1.270.0080.00024.21
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0000.01122.36
8.1.230.0060.01021.11
8.1.220.0060.00318.04
8.1.210.0090.00319.10
8.1.200.0060.00317.48
8.1.190.0080.00017.47
8.1.180.0040.00418.10
8.1.170.0040.00418.76
8.1.160.0070.00022.28
8.1.150.0040.00419.06
8.1.140.0070.00317.71
8.1.130.0030.00318.07
8.1.120.0030.00817.63
8.1.110.0000.00717.69
8.1.100.0020.00517.65
8.1.90.0100.00017.47
8.1.80.0060.00317.52
8.1.70.0070.00417.55
8.1.60.0110.00417.76
8.1.50.0040.00417.76
8.1.40.0060.00317.65
8.1.30.0090.00617.85
8.1.20.0040.00417.86
8.1.10.0000.00817.79
8.1.00.0060.00617.87
8.0.300.0070.00220.40
8.0.290.0070.00316.88
8.0.280.0000.00718.72
8.0.270.0070.00217.45
8.0.260.0000.00617.57
8.0.250.0000.00917.13
8.0.240.0040.00417.30
8.0.230.0050.00517.25
8.0.220.0070.00317.12
8.0.210.0080.00017.12
8.0.200.0080.00217.17
8.0.190.0120.00017.09
8.0.180.0050.00917.23
8.0.170.0060.00317.13
8.0.160.0100.00317.24
8.0.150.0130.00017.19
8.0.140.0130.00417.21
8.0.130.0040.00713.70
8.0.120.0060.00317.10
8.0.110.0000.00817.11
8.0.100.0070.00017.11
8.0.90.0000.00817.16
8.0.80.0140.00617.00
8.0.70.0080.00017.10
8.0.60.0000.00717.00
8.0.50.0000.00717.13
8.0.30.0180.01117.40
8.0.20.0070.01217.59
8.0.10.0070.00217.03
8.0.00.0110.01216.89
7.4.330.0000.00615.25
7.4.320.0030.00316.68
7.4.300.0050.00316.71
7.4.290.0000.00916.77
7.4.280.0040.00916.72
7.4.270.0070.00016.80
7.4.260.0150.00016.76
7.4.250.0040.00416.80
7.4.240.0040.00316.84
7.4.230.0040.00416.66
7.4.220.0180.00616.80
7.4.210.0120.00616.96
7.4.200.0000.00716.80
7.4.160.0150.00816.96
7.4.150.0220.00617.40
7.4.140.0200.00517.86
7.4.130.0120.01216.87
7.4.120.0150.01016.83
7.4.110.0240.00616.89
7.4.100.0230.00616.74
7.4.90.0080.01716.82
7.4.80.0120.01219.39
7.4.70.0150.01416.86
7.4.60.0240.00316.86
7.4.50.0000.00816.53
7.4.40.0220.00416.73
7.4.30.0220.00316.98
7.4.00.0000.01414.80
7.3.330.0050.00213.63
7.3.320.0060.00013.59
7.3.310.0000.00716.63
7.3.300.0030.00316.65
7.3.290.0220.01116.75
7.3.280.0140.00716.76
7.3.270.0090.00917.40
7.3.260.0230.00717.01
7.3.250.0110.01216.75
7.3.240.0160.01016.78
7.3.230.0210.00316.78
7.3.210.0160.01616.90
7.3.200.0160.00819.39
7.3.190.0130.00716.69
7.3.180.0080.01716.76
7.3.170.0110.00516.66
7.3.160.0190.00416.63
7.2.330.0080.01716.88
7.2.320.0150.01416.73
7.2.310.0160.00616.88
7.2.300.0130.00316.79
7.2.290.0200.00716.74
7.2.60.0330.00916.68
7.2.00.0090.00919.14
7.1.200.0100.00615.78
7.1.100.0040.00818.00
7.1.70.0040.00817.05
7.1.60.0060.01619.40
7.1.50.0070.00717.09
7.1.00.0030.07722.45
7.0.200.0030.00516.80
7.0.140.0030.07322.10
7.0.60.0200.07320.08
7.0.50.0070.06717.87
7.0.40.0100.06720.30
7.0.30.0170.05020.20
7.0.20.0300.07020.07
7.0.10.0100.08020.21
7.0.00.0070.07720.25
5.6.280.0070.07020.93
5.6.210.0070.08020.69
5.6.200.0130.06318.20
5.6.190.0100.07720.41
5.6.180.0300.05020.50
5.6.170.0300.06720.44
5.6.160.0000.09020.43
5.6.150.0070.07718.25
5.6.140.0030.04018.19
5.6.130.0100.07018.18
5.6.120.0070.08321.01
5.6.110.0170.06721.12
5.6.100.0130.06321.01
5.6.90.0070.08321.11
5.6.80.0070.08320.44
5.5.350.0000.08020.51
5.5.340.0100.05018.02
5.5.330.0070.05320.19
5.5.320.0200.07320.24
5.5.310.0170.04020.34
5.5.300.0100.05018.03
5.5.290.0070.08018.08
5.5.280.0030.08720.79
5.5.270.0030.07020.76
5.5.260.0000.06020.87
5.5.250.0100.08020.76
5.5.240.0230.04020.04
5.4.450.0230.04719.31
5.4.440.0330.05319.55
5.4.430.0730.05019.40
5.4.420.0930.03719.16
5.4.410.0600.04319.04
5.4.400.0500.05319.18
5.4.390.0630.03319.31
5.4.380.0870.05718.76
5.4.370.0730.05318.77
5.4.360.0870.05318.59
5.4.350.0700.04718.51
5.4.340.0930.04718.51
5.4.320.0070.03712.53
5.4.310.0060.03912.53
5.4.300.0050.03712.54
5.4.290.0040.03912.53
5.4.280.0040.03712.43
5.4.270.0050.04212.42
5.4.260.0060.04712.43
5.4.250.0060.03612.43
5.4.240.0060.03812.43
5.4.230.0030.04112.42
5.4.220.0090.03312.42
5.4.210.0090.04512.42
5.4.200.0070.03812.42
5.4.190.0070.03712.41
5.4.180.0030.04512.41
5.4.170.0060.04312.43
5.4.160.0080.03612.43
5.4.150.0060.03712.42
5.4.140.0070.03712.10
5.4.130.0100.03312.09
5.4.120.0100.04612.05
5.4.110.0080.04612.04
5.4.100.0050.03612.05
5.4.90.0040.03912.04
5.4.80.0080.03712.05
5.4.70.0080.03912.04
5.4.60.0040.04412.04
5.4.50.0040.04312.04
5.4.40.0050.03712.03
5.4.30.0060.03712.02
5.4.20.0020.04112.02
5.4.10.0090.03212.02
5.4.00.0080.03411.51
5.3.290.0060.03912.80
5.3.280.0050.03912.71
5.3.270.0070.05012.73
5.3.260.0040.04412.72
5.3.250.0050.03812.72
5.3.240.0060.04312.72
5.3.230.0060.04212.71
5.3.220.0030.03912.68
5.3.210.0070.03712.68
5.3.200.0060.03712.68
5.3.190.0070.03712.68
5.3.180.0020.03912.68
5.3.170.0080.03412.68
5.3.160.0100.03312.68
5.3.150.0100.03312.68
5.3.140.0050.03712.67
5.3.130.0040.04512.66
5.3.120.0070.03612.66
5.3.110.0020.04312.66
5.3.100.0040.04012.15
5.3.90.0070.03912.13
5.3.80.0060.03812.13
5.3.70.0040.03712.13
5.3.60.0050.03712.11
5.3.50.0050.03712.06
5.3.40.0030.03912.06
5.3.30.0100.03112.02
5.3.20.0040.03611.81
5.3.10.0030.03811.77
5.3.00.0080.03411.75
5.2.170.0070.0299.26
5.2.160.0030.0319.26
5.2.150.0050.0309.26
5.2.140.0030.0339.26
5.2.130.0020.0319.22
5.2.120.0060.0269.22
5.2.110.0020.0319.23
5.2.100.0100.0229.22
5.2.90.0040.0309.22
5.2.80.0030.0329.21
5.2.70.0050.0369.21
5.2.60.0060.0339.16
5.2.50.0060.0359.13
5.2.40.0080.0269.11
5.2.30.0040.0309.09
5.2.20.0060.0269.07
5.2.10.0090.0308.98
5.2.00.0010.0328.84
5.1.60.0020.0268.12
5.1.50.0060.0228.12
5.1.40.0040.0248.11
5.1.30.0040.0268.45
5.1.20.0030.0278.48
5.1.10.0030.0268.20
5.1.00.0050.0258.20
5.0.50.0050.0196.68
5.0.40.0050.0206.53
5.0.30.0050.0306.35
5.0.20.0040.0186.31
5.0.10.0030.0206.29
5.0.00.0040.0316.28
4.4.90.0020.0164.78
4.4.80.0000.0184.75
4.4.70.0020.0214.76
4.4.60.0050.0184.76
4.4.50.0010.0174.77
4.4.40.0030.0264.71
4.4.30.0040.0144.76
4.4.20.0060.0124.84
4.4.10.0020.0164.85
4.4.00.0010.0274.76
4.3.110.0050.0194.67
4.3.100.0040.0144.66
4.3.90.0050.0134.63
4.3.80.0040.0274.59
4.3.70.0010.0194.63
4.3.60.0010.0174.63
4.3.50.0040.0154.63
4.3.40.0030.0244.54
4.3.30.0010.0183.34
4.3.20.0010.0173.31
4.3.10.0020.0163.28
4.3.00.0030.01315.92

preferences:
54.5 ms | 401 KiB | 5 Q