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"); var_dump(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.0140.01018.31
8.3.50.0100.01021.27
8.3.40.0040.01118.89
8.3.30.0080.00818.98
8.3.20.0070.00018.89
8.3.10.0040.00420.73
8.3.00.0120.00023.84
8.2.180.0250.00316.88
8.2.170.0070.01122.96
8.2.160.0100.00320.64
8.2.150.0080.00024.18
8.2.140.0120.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00819.49
8.2.110.0070.00319.45
8.2.100.0060.00618.03
8.2.90.0060.00319.27
8.2.80.0030.00618.18
8.2.70.0160.00317.63
8.2.60.0000.01018.02
8.2.50.0030.00618.07
8.2.40.0050.00518.47
8.2.30.0050.00520.10
8.2.20.0030.00617.77
8.2.10.0050.00517.83
8.2.00.0050.00518.00
8.1.280.0150.01225.92
8.1.270.0000.00723.99
8.1.260.0030.00526.35
8.1.250.0100.00028.09
8.1.240.0120.00317.64
8.1.230.0030.01017.61
8.1.220.0040.00418.01
8.1.210.0070.00719.07
8.1.200.0000.01217.25
8.1.190.0040.00417.53
8.1.180.0080.00319.13
8.1.170.0000.00719.07
8.1.160.0040.00418.99
8.1.150.0040.00418.70
8.1.140.0070.00517.57
8.1.130.0030.00318.02
8.1.120.0130.00017.67
8.1.110.0000.00917.52
8.1.100.0000.00817.50
8.1.90.0040.00417.60
8.1.80.0030.00617.59
8.1.70.0060.00317.63
8.1.60.0050.00917.79
8.1.50.0080.00417.43
8.1.40.0050.00217.74
8.1.30.0030.00617.79
8.1.20.0000.00917.75
8.1.10.0040.00417.86
8.1.00.0110.00017.74
8.0.300.0060.00320.35
8.0.290.0050.00316.75
8.0.280.0000.00818.63
8.0.270.0090.00617.60
8.0.260.0080.00017.14
8.0.250.0040.00417.09
8.0.240.0040.01217.23
8.0.230.0040.00417.16
8.0.220.0030.00317.07
8.0.210.0030.00617.20
8.0.200.0030.00617.23
8.0.190.0040.00717.28
8.0.180.0100.00317.10
8.0.170.0000.00817.11
8.0.160.0060.00317.07
8.0.150.0030.00617.08
8.0.140.0090.00917.07
8.0.130.0110.00013.59
8.0.120.0080.00017.19
8.0.110.0020.00517.00
8.0.100.0000.00717.03
8.0.90.0030.00517.09
8.0.80.0140.00617.06
8.0.70.0000.00717.00
8.0.60.0000.00717.10
8.0.50.0040.00416.91
8.0.30.0100.01117.30
8.0.20.0080.01117.40
8.0.10.0050.00217.11
8.0.00.0090.01117.00
7.4.330.0110.00013.43
7.4.320.0030.00616.83
7.4.300.0000.00716.89
7.4.290.0140.00016.93
7.4.280.0090.00516.70
7.4.270.0080.00416.69
7.4.260.0060.00913.45
7.4.250.0030.00616.95
7.4.240.0000.00716.81
7.4.230.0070.00016.81
7.4.220.0130.01316.87
7.4.210.0110.00716.87
7.4.200.0080.00017.02
7.4.190.0030.00316.95
7.4.160.0150.00716.74
7.4.150.0170.00617.40
7.4.140.0080.01217.86
7.4.130.0170.00616.80
7.4.120.0130.00917.01
7.4.110.0180.01116.92
7.4.100.0200.01016.97
7.4.90.0200.00316.61
7.4.80.0140.01419.04
7.4.70.0140.00716.89
7.4.60.0100.01216.64
7.4.50.0040.00816.43
7.4.40.0110.00722.27
7.4.30.0170.00716.82
7.4.00.0100.00715.05
7.3.330.0040.00413.69
7.3.320.0140.00013.73
7.3.310.0030.00316.75
7.3.300.0030.00316.70
7.3.290.0290.00216.65
7.3.280.0060.01416.75
7.3.270.0130.00617.40
7.3.260.0120.01218.24
7.3.250.0130.00916.87
7.3.240.0110.00816.64
7.3.230.0150.00916.77
7.3.210.0100.01016.69
7.3.200.0130.00519.39
7.3.190.0080.01516.66
7.3.180.0090.01316.89
7.3.170.0170.00516.82
7.3.160.0030.01316.78
7.3.120.0110.00014.86
7.2.330.0180.00617.13
7.2.320.0140.01116.84
7.2.310.0180.00617.07
7.2.300.0090.01316.77
7.2.290.0040.01517.12
7.2.80.0080.00816.39
7.2.60.0070.00716.90
7.2.00.0060.00919.46
7.1.200.0040.00815.82
7.1.100.0030.00918.29
7.1.70.0080.00017.26
7.1.60.0120.01219.40
7.1.50.0160.00916.80
7.1.00.0000.07022.44
7.0.200.0000.00716.95
7.0.140.0000.07722.05
7.0.60.0130.07719.98
7.0.50.0000.04717.81
7.0.40.0170.08020.13
7.0.30.0630.05320.09
7.0.20.0300.08320.20
7.0.10.0270.05020.08
7.0.00.0030.08320.21
5.6.280.0030.07321.04
5.6.210.0030.04320.75
5.6.200.0100.07718.15
5.6.190.0170.08020.34
5.6.180.0300.07020.46
5.6.170.0330.07720.45
5.6.160.0100.08320.40
5.6.150.0030.08318.20
5.6.140.0070.08318.15
5.6.130.0070.03718.14
5.6.120.0030.06020.97
5.6.110.0130.08021.11
5.6.100.0100.07321.14
5.6.90.0170.07720.98
5.6.80.0100.04720.38
5.5.350.0170.08720.42
5.5.340.0070.04017.98
5.5.330.0070.04020.42
5.5.320.0100.04720.41
5.5.310.0330.07020.26
5.5.300.0070.08017.96
5.5.290.0030.05718.04
5.5.280.0070.08020.98
5.5.270.0070.08320.88
5.5.260.0130.04320.79
5.5.250.0000.06320.62
5.5.240.0030.07720.35
5.4.450.0430.03719.52
5.4.440.0270.04319.49
5.4.430.0500.04319.38
5.4.420.0470.04019.31
5.4.410.0330.05019.41
5.4.400.0300.03718.83
5.4.390.0300.03719.21
5.4.380.0430.03319.09
5.4.370.0400.06719.22
5.4.360.0370.03718.95
5.4.350.0300.03718.95
5.4.340.0330.05718.86
5.4.320.0330.04018.92
5.4.310.0270.04019.09
5.4.300.0470.04319.15
5.4.290.0270.04718.95
5.4.280.0400.03318.91
5.4.270.0370.03019.05
5.4.260.0300.03719.23
5.4.250.0300.03719.22
5.4.240.0330.03318.85
5.4.230.0330.03319.13
5.4.220.0300.04318.98
5.4.210.0300.03719.08
5.4.200.0300.05019.22
5.4.190.0370.03318.98
5.4.180.0400.03019.21
5.4.170.0400.06319.21
5.4.160.0370.03318.96
5.4.150.0370.06719.29
5.4.140.0430.06016.39
5.4.130.0300.03716.72
5.4.120.0400.04316.59
5.4.110.0430.05716.26
5.4.100.0270.03716.26
5.4.90.0300.03716.46
5.4.80.0330.06716.50
5.4.70.0300.03716.49
5.4.60.0430.06016.61
5.4.50.0300.04316.32
5.4.40.0470.02716.48
5.4.30.0300.03716.38
5.4.20.0300.04016.56
5.4.10.0300.03716.55
5.4.00.0300.03715.85
5.3.290.0270.04314.57
5.3.280.0330.03314.82
5.3.270.0370.03014.60
5.3.260.0330.03714.57
5.3.250.0330.04014.70
5.3.240.0370.03314.69
5.3.230.0400.06714.57
5.3.220.0300.03714.59
5.3.210.0430.06314.47
5.3.200.0330.03714.49
5.3.190.0330.07014.47
5.3.180.0370.03014.54
5.3.170.0400.04014.49
5.3.160.0430.06714.65
5.3.150.0400.06314.68
5.3.140.0370.03714.61
5.3.130.0330.03714.72
5.3.120.0500.05714.56
5.3.110.0270.04014.55
5.3.100.0300.05314.04
5.3.90.0330.03713.92
5.3.80.0400.04014.10
5.3.70.0300.03714.13
5.3.60.0330.07013.91
5.3.50.0300.04013.93
5.3.40.0400.05013.87
5.3.30.0500.03713.81
5.3.20.0330.03313.92
5.3.10.0270.03713.82
5.3.00.0270.04013.54
5.2.170.0300.02311.08
5.2.160.0300.02311.13
5.2.150.0230.03011.27
5.2.140.0230.03311.06
5.2.130.0200.03311.27
5.2.120.0230.03011.16
5.2.110.0270.02311.01
5.2.100.0200.04311.10
5.2.90.0270.03311.08
5.2.80.0300.02311.02
5.2.70.0330.04011.07
5.2.60.0300.02710.96
5.2.50.0300.02711.10
5.2.40.0170.03711.00
5.2.30.0200.02710.87
5.2.20.0170.03010.88
5.2.10.0170.03011.08
5.2.00.0270.03010.83
5.1.60.0300.04710.08
5.1.50.0230.03710.07
5.1.40.0200.02310.00
5.1.30.0200.02710.34
5.1.20.0270.05310.28
5.1.10.0270.05010.15
5.1.00.0170.02710.00
5.0.50.0130.02010.00
5.0.40.0130.01710.00
5.0.30.0100.03310.00
5.0.20.0130.02710.00
5.0.10.0100.02010.00
5.0.00.0170.02710.00
4.4.90.0100.02710.00
4.4.80.0200.01710.00
4.4.70.0100.01310.00
4.4.60.0070.01710.00
4.4.50.0100.03310.00
4.4.40.0100.03010.00
4.4.30.0100.01310.00
4.4.20.0070.01710.00
4.4.10.0100.01710.00
4.4.00.0170.04010.00
4.3.110.0070.01710.00
4.3.100.0100.01310.00
4.3.90.0100.01710.00
4.3.80.0130.02010.00
4.3.70.0170.02310.00
4.3.60.0170.01010.00
4.3.50.0070.01710.00
4.3.40.0100.02310.00
4.3.30.0070.01310.00
4.3.20.0030.01710.00
4.3.10.0070.01710.00
4.3.00.0030.01710.00

preferences:
49.35 ms | 401 KiB | 5 Q