3v4l.org

run code in 300+ PHP versions simultaneously
<? // 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.0150.00316.75
8.3.50.0140.00522.81
8.3.40.0110.00418.58
8.3.30.0140.00019.09
8.3.20.0040.00420.34
8.3.10.0000.00821.82
8.3.00.0040.00417.63
8.2.180.0070.01116.50
8.2.170.0110.00422.96
8.2.160.0100.01020.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00726.16
8.2.120.0050.00321.15
8.2.110.0100.00722.08
8.2.100.0090.00319.57
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0070.00317.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0000.00718.03
8.2.30.0040.00417.87
8.2.20.0050.00317.54
8.2.10.0000.00817.96
8.2.00.0040.00417.55
8.1.280.0100.00725.92
8.1.270.0040.00423.75
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.79
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00317.22
8.1.190.0060.00317.10
8.1.180.0030.00618.10
8.1.170.0000.00818.53
8.1.160.0000.00721.86
8.1.150.0040.00418.68
8.1.140.0000.00717.29
8.1.130.0030.00517.76
8.1.120.0040.00417.32
8.1.110.0000.00717.36
8.1.100.0040.00417.30
8.1.90.0070.00017.34
8.1.80.0030.00317.23
8.1.70.0000.00717.19
8.1.60.0080.00017.33
8.1.50.0000.00717.36
8.1.40.0040.00417.38
8.1.30.0040.00417.46
8.1.20.0040.00417.46
8.1.10.0040.00417.27
8.1.00.0000.00717.37
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0030.00318.29
8.0.270.0030.00317.18
8.0.260.0040.00417.11
8.0.250.0030.00316.82
8.0.240.0070.00016.71
8.0.230.0000.00716.69
8.0.220.0070.00016.82
8.0.210.0030.00516.72
8.0.200.0030.00316.70
8.0.190.0040.00416.80
8.0.180.0000.00816.80
8.0.170.0000.00816.79
8.0.160.0050.00316.77
8.0.150.0000.00716.69
8.0.140.0060.00316.71
8.0.130.0000.00613.63
8.0.120.0000.00916.60
8.0.110.0000.00716.68
8.0.100.0000.00716.65
8.0.90.0000.00716.82
8.0.80.0090.00616.64
8.0.70.0000.00716.85
8.0.60.0040.00416.60
8.0.50.0030.00516.64
8.0.30.0140.00617.02
8.0.20.0120.00717.40
8.0.10.0040.00416.84
8.0.00.0090.00816.79
7.4.330.0020.00215.32
7.4.320.0000.00716.41
7.4.300.0000.00716.45
7.4.290.0030.00616.46
7.4.280.0040.00416.49
7.4.270.0030.00316.45
7.4.260.0030.00516.43
7.4.250.0000.00816.47
7.4.240.0010.00616.37
7.4.230.0030.00316.12
7.4.220.0120.00616.41
7.4.210.0000.01416.47
7.4.200.0070.00016.25
7.4.160.0060.00916.36
7.4.150.0120.00617.40
7.4.140.0110.00617.86
7.4.130.0120.00516.38
7.4.120.0080.00916.39
7.4.110.0180.00616.66
7.4.100.0100.00616.46
7.4.90.0030.01316.32
7.4.80.0140.00319.39
7.4.70.0150.01116.30
7.4.60.0070.01516.52
7.4.50.0040.00016.39
7.4.40.0060.00916.37
7.4.30.0050.01116.02
7.4.00.0070.01014.77
7.3.330.0090.00513.52
7.3.320.0050.00013.62
7.3.310.0000.00616.26
7.3.300.0000.00716.03
7.3.290.0030.01016.16
7.3.280.0050.01516.12
7.3.270.0140.00317.40
7.3.260.0100.01316.13
7.3.240.0060.01016.23
7.3.230.0110.01116.39
7.3.210.0070.01016.30
7.3.200.0060.01019.39
7.3.190.0030.01416.09
7.3.180.0100.00616.37
7.3.170.0040.01116.40
7.3.160.0100.00516.52
7.3.120.0040.01514.63
7.3.110.0090.00614.79
7.3.100.0070.00714.88
7.3.90.0140.00314.78
7.3.80.0070.00715.01
7.3.70.0100.00714.92
7.3.60.0000.01314.81
7.3.50.0070.00714.61
7.3.40.0000.01114.58
7.3.30.0090.00914.54
7.3.20.0030.01016.66
7.3.10.0030.00916.65
7.3.00.0080.00616.60
7.2.330.0160.00316.36
7.2.320.0000.01716.45
7.2.310.0000.01616.48
7.2.300.0060.00916.29
7.2.290.0030.01416.36
7.2.250.0060.00915.07
7.2.240.0060.01014.62
7.2.230.0000.01214.66
7.2.220.0030.01414.97
7.2.210.0070.01015.07
7.2.200.0070.00714.74
7.2.190.0060.00314.95
7.2.180.0070.00714.59
7.2.170.0130.00614.85
7.2.130.0030.00816.93
7.2.120.0090.00516.85
7.2.110.0030.00917.05
7.2.100.0050.00716.88
7.2.90.0060.00717.00
7.2.80.0050.00816.82
7.2.70.0070.00716.86
7.2.60.0110.00816.84
7.2.50.0050.00917.02
7.2.40.0100.00716.92
7.2.30.0090.00616.79
7.2.20.0060.00917.04
7.2.10.0040.01016.95
7.2.00.0070.00617.66
7.1.330.0030.01015.59
7.1.320.0000.01815.62
7.1.310.0000.01515.73
7.1.300.0040.01115.43
7.1.290.0040.00715.61
7.1.280.0070.01115.84
7.1.270.0060.01215.59
7.1.260.0030.00615.66
7.1.250.0060.00415.77
7.1.200.0040.00815.82
7.1.100.0000.01318.13
7.1.70.0040.00417.06
7.1.60.0110.00819.40
7.1.50.0090.01216.88
7.1.00.0000.08022.51
7.0.200.0030.00616.88
7.0.140.0000.07722.08
7.0.60.0100.05321.73
7.0.50.0030.08317.79
7.0.40.0070.09020.42
7.0.30.0270.08020.18
7.0.20.0230.07720.23
7.0.10.0130.07720.09
7.0.00.0070.03720.23
5.6.280.0070.07021.12
5.6.210.0070.05020.55
5.6.200.0100.06718.24
5.6.190.0070.04320.42
5.6.180.0130.07720.57
5.6.170.0170.05720.44
5.6.160.0100.08720.47
5.6.150.0100.06318.29
5.6.140.0100.08018.16
5.6.130.0070.03718.21
5.6.120.0030.06721.05
5.6.110.0000.09720.97
5.6.100.0070.08720.89
5.6.90.0130.05721.13
5.6.80.0070.07720.54
5.5.350.0030.08320.44
5.5.340.0070.03718.04
5.5.330.0170.04320.43
5.5.320.0230.08020.38
5.5.310.0330.06720.34
5.5.300.0070.04018.00
5.5.290.0100.08018.07
5.5.280.0100.03720.66
5.5.270.0100.04020.87
5.5.260.0000.05020.77
5.5.250.0130.07720.66
5.5.240.0170.06320.33
5.4.450.0870.05019.17
5.4.440.0270.04319.55
5.4.430.0200.04719.38
5.4.420.0070.06019.39
5.4.410.0200.06319.40
5.4.400.0070.06319.04
5.4.390.0270.04019.18
5.4.380.0070.06018.85
5.4.370.0230.04718.69
5.4.360.0230.04018.72
5.4.350.0100.04912.05
5.4.340.0100.03112.05
5.4.320.0060.03712.45
5.4.310.0090.03612.45
5.4.300.0040.03912.45
5.4.290.0050.03912.45
5.4.280.0070.03912.35
5.4.270.0070.03812.34
5.4.260.0050.04312.34
5.4.250.0090.03312.35
5.4.240.0060.04812.34
5.4.230.0080.04112.34
5.4.220.0090.04212.34
5.4.210.0060.04012.34
5.4.200.0060.03812.34
5.4.190.0070.03412.34
5.4.180.0080.03512.33
5.4.170.0060.04012.34
5.4.160.0060.03812.34
5.4.150.0060.03812.34
5.4.140.0060.04012.02
5.4.130.0060.04312.01
5.4.120.0050.03711.96
5.4.110.0040.04511.96
5.4.100.0070.04511.96
5.4.90.0050.03811.96
5.4.80.0060.04411.96
5.4.70.0080.03611.96
5.4.60.0050.03611.96
5.4.50.0040.03611.96
5.4.40.0060.03411.95
5.4.30.0090.03311.95
5.4.20.0060.03711.95
5.4.10.0080.03711.95
5.4.00.0040.03711.43
5.3.290.0050.04012.80
5.3.280.0080.04112.71
5.3.270.0100.04412.73
5.3.260.0050.04112.72
5.3.250.0070.03612.72
5.3.240.0070.04512.71
5.3.230.0050.03812.71
5.3.220.0020.04812.68
5.3.210.0050.03812.68
5.3.200.0060.03512.68
5.3.190.0060.03612.68
5.3.180.0040.03812.67
5.3.170.0070.04112.67
5.3.160.0070.03912.68
5.3.150.0070.03512.67
5.3.140.0100.04312.66
5.3.130.0050.04112.66
5.3.120.0100.03912.65
5.3.110.0060.03912.66
5.3.100.0090.04212.12
5.3.90.0060.04012.09
5.3.80.0070.03812.07
5.3.70.0100.04612.07
5.3.60.0070.03512.06
5.3.50.0060.04312.00
5.3.40.0080.04212.00
5.3.30.0080.03711.96
5.3.20.0090.03511.71
5.3.10.0040.03611.69
5.3.00.0090.04011.69
5.2.170.0050.0429.18
5.2.160.0050.0399.18
5.2.150.0050.0349.17
5.2.140.0060.0379.17
5.2.130.0050.0299.13
5.2.120.0050.0389.13
5.2.110.0100.0339.14
5.2.100.0050.0289.13
5.2.90.0050.0319.14
5.2.80.0080.0329.13
5.2.70.0020.0389.13
5.2.60.0040.0359.08
5.2.50.0070.0299.05
5.2.40.0030.0359.03
5.2.30.0110.0359.00
5.2.20.0050.0309.00
5.2.10.0060.0288.92
5.2.00.0050.0338.77
5.1.60.0050.0238.05
5.1.50.0060.0248.05
5.1.40.0050.0258.04
5.1.30.0040.0358.39
5.1.20.0070.0258.41
5.1.10.0050.0268.13
5.1.00.0050.0258.13
5.0.50.0030.0256.61
5.0.40.0050.0246.47
5.0.30.0070.0316.29
5.0.20.0040.0196.25
5.0.10.0050.0256.23
5.0.00.0050.0346.23
4.4.90.0020.0164.78
4.4.80.0050.0134.75
4.4.70.0040.0174.76
4.4.60.0030.0214.75
4.4.50.0010.0174.77
4.4.40.0030.0274.71
4.4.30.0030.0184.76
4.4.20.0020.0174.85
4.4.10.0030.0204.85
4.4.00.0080.0214.76
4.3.110.0030.0214.67
4.3.100.0050.0174.66
4.3.90.0030.0174.64
4.3.80.0020.0304.59
4.3.70.0060.0244.63
4.3.60.0040.0174.63
4.3.50.0040.0164.63
4.3.40.0030.0244.54
4.3.30.0030.0183.27
4.3.20.0020.0253.25
4.3.10.0010.0163.22
4.3.00.0070.0277.13

preferences:
41.59 ms | 401 KiB | 5 Q