3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=18556 // Set language to desired language $g_lang = 'tr_TR'; putenv("LANG=$g_lang"); setlocale(LC_ALL, $g_lang); class InfoBlob { public $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.00718.43
8.3.50.0160.00322.00
8.3.40.0090.01218.70
8.3.30.0120.00318.96
8.3.20.0050.00318.98
8.3.10.0040.00420.78
8.3.00.0040.00421.98
8.2.180.0150.00617.00
8.2.170.0000.01522.96
8.2.160.0100.01020.60
8.2.150.0090.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0030.01019.48
8.2.110.0040.00719.63
8.2.100.0070.00418.16
8.2.90.0040.00819.48
8.2.80.0030.00718.18
8.2.70.0000.01117.88
8.2.60.0050.00519.43
8.2.50.0100.00018.28
8.2.40.0110.00020.72
8.2.30.0030.00719.42
8.2.20.0050.00317.96
8.2.10.0060.00317.82
8.2.00.0090.00317.92
8.1.280.0160.00525.92
8.1.270.0040.00923.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0130.00021.40
8.1.230.0130.00919.19
8.1.220.0060.00617.91
8.1.210.0040.00418.77
8.1.200.0000.01117.48
8.1.190.0090.00317.48
8.1.180.0000.01018.10
8.1.170.0030.00918.77
8.1.160.0040.00419.09
8.1.150.0070.00420.52
8.1.140.0000.00817.64
8.1.130.0000.00717.96
8.1.120.0030.00817.54
8.1.110.0060.00317.63
8.1.100.0000.00817.66
8.1.90.0000.00717.71
8.1.80.0000.00717.66
8.1.70.0000.00717.50
8.1.60.0100.00517.75
8.1.50.0000.00817.49
8.1.40.0040.00417.71
8.1.30.0050.00317.78
8.1.20.0050.00317.81
8.1.10.0000.00817.89
8.1.00.0150.00017.74
8.0.300.0040.00418.77
8.0.290.0000.00717.00
8.0.280.0040.00718.64
8.0.270.0100.00017.64
8.0.260.0000.00917.13
8.0.250.0040.00417.26
8.0.240.0060.00617.15
8.0.230.0000.00717.18
8.0.220.0000.00817.21
8.0.210.0030.00517.05
8.0.200.0100.00017.16
8.0.190.0040.00417.23
8.0.180.0080.00017.27
8.0.170.0040.00417.06
8.0.160.0080.00017.21
8.0.150.0110.00417.22
8.0.140.0170.00017.07
8.0.130.0120.00613.67
8.0.120.0000.00817.17
8.0.110.0040.00717.18
8.0.100.0040.00417.09
8.0.90.0000.00917.00
8.0.80.0070.01317.18
8.0.70.0040.00417.09
8.0.60.0000.00817.24
8.0.50.0000.00716.97
8.0.30.0160.00617.13
8.0.20.0100.01117.40
8.0.10.0080.00017.21
8.0.00.0160.01217.10
7.4.330.0070.00014.94
7.4.320.0130.00016.80
7.4.300.0080.00016.85
7.4.290.0070.00016.91
7.4.280.0100.00716.79
7.4.270.0030.00616.71
7.4.260.0040.00413.77
7.4.250.0040.00416.80
7.4.240.0070.00016.94
7.4.230.0060.00316.70
7.4.220.0000.02416.93
7.4.210.0060.01216.84
7.4.200.0070.00016.99
7.4.190.0000.00717.09
7.4.160.0110.00516.97
7.4.150.0140.01117.40
7.4.140.0120.01017.86
7.4.130.0150.00616.89
7.4.120.0100.00816.85
7.4.110.0110.00616.73
7.4.100.0070.01016.95
7.4.90.0070.01716.70
7.4.80.0070.01019.37
7.4.70.0100.00716.88
7.4.60.0130.01016.64
7.4.50.0070.00016.66
7.4.40.0030.01022.27
7.4.30.0120.01216.78
7.4.00.0060.01314.96
7.3.330.0120.00013.51
7.3.320.0000.00913.69
7.3.310.0000.00716.85
7.3.300.0070.00016.65
7.3.290.0170.00516.69
7.3.280.0110.00916.70
7.3.270.0040.01317.40
7.3.260.0050.01518.24
7.3.250.0140.00816.64
7.3.240.0190.00316.82
7.3.230.0060.01316.89
7.3.210.0180.00616.70
7.3.200.0030.01319.39
7.3.190.0130.01016.50
7.3.180.0130.00316.61
7.3.170.0100.00616.81
7.3.160.0100.01016.69
7.3.120.0090.00814.88
7.3.110.0050.01115.00
7.3.100.0050.00814.84
7.3.90.0080.00714.89
7.3.80.0080.00714.71
7.3.70.0040.00614.94
7.3.60.0140.00114.88
7.3.50.0050.00714.76
7.3.40.0090.00714.51
7.3.30.0020.01114.75
7.3.20.0110.00316.89
7.3.10.0090.00316.64
7.3.00.0050.00916.70
7.2.330.0070.01017.09
7.2.320.0070.01117.18
7.2.310.0080.01116.68
7.2.300.0090.01316.90
7.2.290.0120.00317.10
7.2.250.0060.01315.32
7.2.240.0050.00915.09
7.2.230.0040.01115.06
7.2.220.0050.00815.01
7.2.210.0050.01015.03
7.2.200.0020.01115.17
7.2.190.0060.01114.88
7.2.180.0020.01414.97
7.2.170.0050.00815.01
7.2.160.0060.01015.05
7.2.150.0110.00617.14
7.2.140.0000.01216.84
7.2.130.0080.00817.00
7.2.120.0030.01416.85
7.2.110.0040.00716.95
7.2.100.0070.01017.15
7.2.90.0070.01016.98
7.2.80.0030.01016.96
7.2.70.0060.01217.16
7.2.60.0030.01016.97
7.2.50.0060.00617.08
7.2.40.0100.00717.16
7.2.30.0080.00816.95
7.2.20.0060.01016.80
7.2.10.0040.00817.00
7.2.00.0030.01118.09
7.1.330.0030.01015.80
7.1.320.0030.00815.70
7.1.310.0030.01315.87
7.1.300.0080.00615.79
7.1.290.0020.01215.80
7.1.280.0050.00715.80
7.1.270.0030.00815.57
7.1.260.0030.01015.66
7.1.250.0070.00715.82
7.1.200.0060.00915.77
7.1.100.0000.01718.28
7.1.70.0000.00817.01
7.1.60.0060.01919.40
7.1.50.0040.01917.23
7.1.00.0000.05322.51
7.0.200.0040.00416.93
7.0.140.0070.07022.10
7.0.60.0100.08020.03
7.0.50.0030.05017.84
7.0.40.3900.03720.02
7.0.30.3570.04720.30
7.0.20.3270.04320.10
7.0.10.3670.04720.06
7.0.00.3600.04020.09
5.6.280.0000.07721.07
5.6.210.0130.07320.75
5.6.200.0200.05718.19
5.6.190.3970.04020.44
5.6.180.3630.03720.49
5.6.170.3330.04020.71
5.6.160.3600.03720.61
5.6.150.3230.03720.34
5.6.140.4130.04020.32
5.6.130.4130.04720.29
5.6.120.1370.06320.37
5.6.110.0200.06320.29
5.6.100.3900.04320.27
5.6.90.3170.04720.27
5.6.80.2970.04019.78
5.6.70.2970.04019.66
5.6.60.3130.03019.65
5.6.50.3700.04019.77
5.6.40.3530.03319.68
5.6.30.0230.07019.71
5.6.20.3230.04019.71
5.6.10.3670.03719.74
5.6.00.3600.04319.63
5.5.350.0370.06720.36
5.5.340.0100.03318.05
5.5.330.1400.07020.24
5.5.320.3370.03720.29
5.5.310.3630.03020.24
5.5.300.3730.04720.07
5.5.290.3670.03320.16
5.5.280.0070.07720.01
5.5.270.0070.08020.07
5.5.260.3770.04320.00
5.5.250.2700.03719.96
5.5.240.3200.04319.50
5.5.230.3230.03719.46
5.5.220.3270.04019.56
5.5.210.3530.03719.56
5.5.200.3270.04319.45
5.5.190.0100.04319.51
5.5.180.1730.04319.53
5.5.160.3500.03319.48
5.5.150.4100.03719.51
5.5.140.4230.04319.48
5.5.130.3400.04319.44
5.5.120.4300.04019.53
5.5.110.3970.04319.45
5.5.100.2970.03719.44
5.5.90.0000.08319.33
5.5.80.0000.09019.35
5.5.70.4270.03319.36
5.5.60.4100.04319.39
5.5.50.4130.03319.42
5.5.40.3730.04019.38
5.5.30.3570.03719.57
5.5.20.4000.04019.35
5.5.10.3000.04719.33
5.5.00.3530.04019.33
5.4.450.3500.04019.23
5.4.440.0100.07019.42
5.4.430.0900.04019.34
5.4.420.3330.03719.46
5.4.410.3230.03719.30
5.4.400.3230.03719.06
5.4.390.4100.04719.04
5.4.380.3170.04019.04
5.4.370.3500.04018.89
5.4.360.3430.04019.05
5.4.350.0170.07019.05
5.4.340.3200.04019.27
5.4.320.3400.04018.89
5.4.310.3770.04018.96
5.4.300.4200.04019.10
5.4.290.3570.03319.02
5.4.280.4170.04019.10
5.4.270.4030.04019.06
5.4.260.3930.04018.98
5.4.250.0230.06719.18
5.4.240.3670.03719.27
5.4.230.4270.04019.05
5.4.220.4330.03319.01
5.4.210.4300.04019.02
5.4.200.3630.04319.04
5.4.190.3400.04319.11
5.4.180.3430.04319.27
5.4.170.3730.03719.30
5.4.160.3670.03019.03
5.4.150.3570.04319.11
5.4.140.4300.03316.39
5.4.130.4170.03316.65
5.4.120.4170.03316.45
5.4.110.3470.04016.46
5.4.100.3370.03716.49
5.4.90.3270.03716.54
5.4.80.3430.04016.53
5.4.70.3170.03016.42
5.4.60.3500.02316.38
5.4.50.3600.03316.44
5.4.40.3470.03716.62
5.4.30.3630.03316.41
5.4.20.3300.04016.43
5.4.10.4170.03716.41
5.4.00.4200.03715.94
5.3.290.4230.04014.77
5.3.280.4270.04014.55
5.3.270.3300.03314.64
5.3.260.3670.03314.64
5.3.250.4130.04314.63
5.3.240.3870.03714.56
5.3.230.3700.03714.60
5.3.220.4400.05314.56
5.3.210.4600.04314.61
5.3.200.3400.03314.78
5.3.190.4070.03314.58
5.3.180.3600.02714.78
5.3.170.3830.04714.61
5.3.160.3530.03314.57
5.3.150.3800.04014.64
5.3.140.4330.04014.57
5.3.130.3670.04014.52
5.3.120.3830.04014.59
5.3.110.4070.03014.59
5.3.100.3830.04014.07
5.3.90.3470.03714.23
5.3.80.3670.03314.05
5.3.70.3200.04013.87
5.3.60.4000.03014.04
5.3.50.4130.04013.98
5.3.40.3570.04013.98
5.3.30.3800.03713.91
5.3.20.3570.03313.70
5.3.10.3300.02713.72
5.3.00.3770.04313.63
5.2.170.3100.03011.15
5.2.160.2930.02711.25
5.2.150.3000.03311.15
5.2.140.3430.03311.25
5.2.130.2700.02711.16
5.2.120.2630.03011.07
5.2.110.3170.02711.06
5.2.100.3630.02710.96
5.2.90.3670.02711.13
5.2.80.3400.03711.06
5.2.70.3170.04011.06
5.2.60.3000.03011.13
5.2.50.3430.02711.08
5.2.40.2930.03010.85
5.2.30.2730.02710.96
5.2.20.2870.03010.91
5.2.10.2930.02710.86
5.2.00.2770.02710.75
5.1.60.2800.03010.04
5.1.50.2400.02310.20
5.1.40.2200.0279.81
5.1.30.2230.02710.29
5.1.20.2170.02710.39
5.1.10.2270.02310.14
5.1.00.2130.02710.07
5.0.50.1030.0238.52
5.0.40.1130.0138.49
5.0.30.1100.0278.29
5.0.20.1130.0178.16
5.0.10.1170.0178.03
5.0.00.1030.0308.15
4.4.90.1600.0175.90
4.4.80.1630.0135.89
4.4.70.1570.0175.77
4.4.60.1370.0175.77
4.4.50.1670.0205.88
4.4.40.1170.0205.89
4.4.30.1100.0175.77
4.4.20.0900.0105.96
4.4.10.1100.0105.94
4.4.00.1070.0235.86
4.3.110.1030.0175.73
4.3.100.1070.0135.76
4.3.90.1100.0135.80
4.3.80.1130.0275.79
4.3.70.1070.0135.77
4.3.60.1070.0135.80
4.3.50.1100.0105.80
4.3.40.1370.0305.73
4.3.30.0530.0135.29
4.3.20.0570.0135.29
4.3.10.0500.0175.29
4.3.00.0530.0135.29

preferences:
51.17 ms | 401 KiB | 5 Q