3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<EOT The big bang bonged under the bung. EOT; preg_match_all('@b.n?g@', $text, $matches); print_r($matches);

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.0100.01018.56
8.3.50.0100.00521.15
8.3.40.0090.00918.81
8.3.30.0100.00320.35
8.3.20.0080.00018.76
8.3.10.0040.00421.09
8.3.00.0070.00023.65
8.2.180.0100.01016.88
8.2.170.0040.01122.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0050.00219.70
8.2.110.0030.00620.44
8.2.100.0080.00417.91
8.2.90.0050.00319.08
8.2.80.0000.00817.97
8.2.70.0000.00817.62
8.2.60.0000.00817.91
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0000.00719.45
8.2.20.0060.00317.74
8.2.10.0040.00417.76
8.2.00.0030.00617.65
8.1.280.0140.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00622.02
8.1.230.0090.00317.57
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0040.00417.40
8.1.180.0030.00618.10
8.1.170.0030.00618.63
8.1.160.0090.00018.85
8.1.150.0080.00018.63
8.1.140.0040.00417.47
8.1.130.0070.00017.82
8.1.120.0050.00317.55
8.1.110.0000.00817.43
8.1.100.0040.00417.43
8.1.90.0000.00717.49
8.1.80.0000.00817.52
8.1.70.0000.00717.52
8.1.60.0000.00817.69
8.1.50.0060.00317.62
8.1.40.0040.00417.57
8.1.30.0080.00017.66
8.1.20.0000.00817.70
8.1.10.0080.00017.68
8.1.00.0030.00617.51
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0040.00418.39
8.0.270.0040.00417.21
8.0.260.0060.00017.00
8.0.250.0040.00417.12
8.0.240.0050.00316.98
8.0.230.0000.00717.02
8.0.220.0030.00317.05
8.0.210.0070.00417.02
8.0.200.0000.00616.98
8.0.190.0030.00316.98
8.0.180.0040.00417.08
8.0.170.0000.00817.05
8.0.160.0000.00717.00
8.0.150.0070.00017.02
8.0.140.0000.00816.95
8.0.130.0030.00313.42
8.0.120.0020.00516.96
8.0.110.0000.00817.05
8.0.100.0000.00716.81
8.0.90.0000.00716.91
8.0.80.0090.00617.01
8.0.70.0070.00016.92
8.0.60.0000.00917.07
8.0.50.0030.00516.93
8.0.30.0070.01216.93
8.0.20.0100.00917.40
8.0.10.0040.00417.07
8.0.00.0100.01016.70
7.4.330.0050.00016.86
7.4.320.0030.00316.80
7.4.300.0030.00316.77
7.4.290.0090.00016.75
7.4.280.0040.00416.56
7.4.270.0030.00316.59
7.4.260.0000.00513.38
7.4.250.0070.00016.62
7.4.240.0030.00316.80
7.4.230.0040.00416.54
7.4.220.0080.01016.59
7.4.210.0100.00716.75
7.4.200.0000.00716.73
7.4.190.0030.00316.83
7.4.160.0060.00916.71
7.4.150.0060.02017.40
7.4.140.0080.01017.86
7.4.130.0130.00816.73
7.4.120.0130.00416.71
7.4.110.0170.00716.70
7.4.100.0130.00316.70
7.4.90.0100.00616.70
7.4.80.0100.00719.39
7.4.70.0030.01316.52
7.4.60.0030.01216.76
7.4.50.0000.00816.64
7.4.40.0060.01222.77
7.4.30.0100.00716.46
7.3.330.0000.00513.28
7.3.320.0000.00813.13
7.3.310.0030.00316.19
7.3.300.0070.00016.37
7.3.290.0030.01116.35
7.3.280.0090.00916.39
7.3.270.0150.00317.40
7.3.260.0090.01218.24
7.3.250.0100.00816.49
7.3.240.0110.00916.60
7.3.230.0090.00916.39
7.3.210.0060.01216.64
7.3.200.0140.00819.39
7.3.190.0090.01316.37
7.3.180.0100.01016.24
7.3.170.0070.01016.52
7.3.160.0070.01116.74
7.2.330.0150.00316.42
7.2.320.0090.00916.39
7.2.310.0080.00916.37
7.2.300.0060.00916.36
7.2.290.0130.00316.18
5.4.210.0130.04012.34
5.4.200.0120.04312.33
5.4.190.0180.05512.33
5.4.180.0110.04612.33
5.4.170.0110.04312.34
5.4.160.0130.04212.34
5.4.150.0150.04912.33
5.4.140.0130.04212.02
5.4.130.0130.04312.00
5.4.120.0140.04211.97
5.4.110.0110.04411.96
5.4.100.0140.04111.97
5.4.90.0160.05011.97
5.4.80.0130.04211.96
5.4.70.0120.04111.96
5.4.60.0140.04611.96
5.4.50.0120.04111.96
5.4.40.0150.03911.95
5.4.30.0130.04311.95
5.4.20.0150.04411.94
5.4.10.0120.04311.95
5.4.00.0140.05011.44
5.3.270.0130.04612.72
5.3.260.0130.04612.72
5.3.250.0180.04512.72
5.3.240.0170.05412.72
5.3.230.0150.04412.71
5.3.220.0130.04512.68
5.3.210.0160.04312.68
5.3.200.0110.04812.68
5.3.190.0150.04312.68
5.3.180.0120.04612.67
5.3.170.0160.06212.67
5.3.160.0160.04312.68
5.3.150.0120.04712.67
5.3.140.0150.05112.66
5.3.130.0170.04312.66
5.3.120.0140.04612.66
5.3.110.0150.04612.66
5.3.100.0150.04412.12
5.3.90.0200.05512.08
5.3.80.0150.04312.08
5.3.70.0170.05112.07
5.3.60.0130.04512.06
5.3.50.0150.05412.00
5.3.40.0140.04212.00
5.3.30.0150.04011.94
5.3.20.0130.04411.72
5.3.10.0120.04111.68
5.3.00.0150.03911.67

preferences:
49.9 ms | 400 KiB | 5 Q