3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ["/?dfs1=frgs1","/?dfs2=frgs2","/?dfs3=frgs3"]; $matches = preg_grep("/\/\?(.*)\=(.*)/", $a); $fmatchs = []; foreach($matches as $match){ $mtchs = explode("=", $match); print($match); //print_r($mtchs); foreach($mtchs as $v){ echo "dddd".$v[0]; print_r($v); $k = str_replace("/?", "", $v[0]); $fmatchs[$k] = $v[1]; } } print_r($fmatchs);

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.0160.00618.27
8.3.50.0140.00718.27
8.3.40.0120.00319.03
8.3.30.0070.00718.93
8.3.20.0040.00420.21
8.3.10.0080.00023.48
8.3.00.0040.00419.75
8.2.180.0190.00016.88
8.2.170.0070.00722.96
8.2.160.0100.00319.41
8.2.150.0110.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00421.06
8.2.120.0040.00426.35
8.2.110.0090.00020.50
8.2.100.0000.01218.03
8.2.90.0030.00619.26
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0080.00018.16
8.2.40.0030.00920.58
8.2.30.0040.00419.46
8.2.20.0080.00017.94
8.2.10.0000.00818.18
8.2.00.0000.00718.21
8.1.280.0070.01425.92
8.1.270.0000.00823.81
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0110.00023.84
8.1.230.0040.00720.84
8.1.220.0040.00417.75
8.1.210.0030.00618.77
8.1.200.0060.00317.36
8.1.190.0080.00017.35
8.1.180.0030.00618.10
8.1.170.0040.00418.59
8.1.160.0040.00422.11
8.1.150.0000.00720.61
8.1.140.0050.00219.67
8.1.130.0000.00717.67
8.1.120.0040.00417.61
8.1.110.0030.00617.64
8.1.100.0050.00317.70
8.1.90.0080.00017.55
8.1.80.0050.00317.53
8.1.70.0040.00417.68
8.1.60.0060.00317.78
8.1.50.0040.00417.62
8.1.40.0050.00517.71
8.1.30.0060.00317.67
8.1.20.0080.00017.76
8.1.10.0080.00017.68
8.1.00.0000.00817.57
8.0.300.0000.00918.77
8.0.290.0070.00016.88
8.0.280.0040.00418.40
8.0.270.0050.00316.90
8.0.260.0030.00317.22
8.0.250.0000.00817.12
8.0.240.0060.00317.14
8.0.230.0000.00817.21
8.0.220.0000.00717.05
8.0.210.0000.00817.12
8.0.200.0000.00717.04
8.0.190.0040.00416.99
8.0.180.0040.00417.14
8.0.170.0000.00817.15
8.0.160.0030.00516.96
8.0.150.0030.00517.08
8.0.140.0040.00316.86
8.0.130.0030.00313.50
8.0.120.0030.00617.05
8.0.110.0040.00417.03
8.0.100.0030.00516.89
8.0.90.0050.00217.18
8.0.80.0080.00716.98
8.0.70.0070.00016.94
8.0.60.0040.00416.98
8.0.50.0000.00817.04
8.0.30.0080.00817.13
8.0.20.0100.01017.45
8.0.10.0030.00617.05
8.0.00.0140.00716.91
7.4.330.0050.00015.16
7.4.320.0000.00716.84
7.4.300.0070.00016.84
7.4.290.0030.00316.76
7.4.280.0000.01016.73
7.4.270.0000.00716.80
7.4.260.0000.00916.63
7.4.250.0040.00416.80
7.4.240.0000.00716.73
7.4.230.0040.00416.73
7.4.220.0070.01216.89
7.4.210.0100.00816.82
7.4.200.0080.00016.86
7.4.160.0060.00916.78
7.4.150.0160.00817.40
7.4.140.0100.01217.86
7.4.130.0100.00816.79
7.4.120.0140.00616.73
7.4.110.0160.00616.61
7.4.100.0150.00616.75
7.4.90.0060.01016.82
7.4.80.0090.01219.39
7.4.70.0090.00616.80
7.4.60.0180.00616.81
7.4.50.0030.01416.67
7.4.40.0120.00516.79
7.4.30.0100.00716.88
7.4.00.0090.00915.07
7.3.330.0050.00013.47
7.3.320.0040.00413.23
7.3.310.0030.00316.56
7.3.300.0030.00316.35
7.3.290.0000.00716.54
7.3.280.0060.01116.49
7.3.270.0060.01217.40
7.3.260.0100.00816.70
7.3.250.0070.01216.62
7.3.240.0030.01416.54
7.3.230.0120.00916.74
7.3.210.0140.00816.35
7.3.200.0070.01716.54
7.3.190.0130.00416.50
7.3.180.0130.00316.89
7.3.170.0180.00016.56
7.3.160.0050.01616.63
7.3.10.0000.01816.64
7.3.00.0000.01416.92
7.2.330.0150.00316.68
7.2.320.0150.00916.96
7.2.310.0090.00916.80
7.2.300.0070.01716.99
7.2.290.0100.01016.91
7.2.130.0060.00917.02
7.2.120.0070.00717.23
7.2.110.0070.00717.12
7.2.100.0060.00917.05
7.2.90.0120.00317.23
7.2.80.0060.00916.93
7.2.70.0050.00517.17
7.2.60.0080.00817.04
7.2.50.0000.01416.93
7.2.40.0060.00917.18
7.2.30.0030.01017.15
7.2.20.0090.00917.06
7.2.10.0120.00317.28
7.2.00.0020.01218.38
7.1.250.0070.00416.09
7.1.200.0000.01315.92
7.1.100.0030.01018.39
7.1.70.0050.00517.40
7.1.60.0000.01219.45
7.1.00.0100.07322.55
7.0.200.0000.00816.94
7.0.80.0730.05319.97
7.0.70.0130.06319.92
7.0.60.0170.05720.16
7.0.50.0230.04720.41
7.0.40.0170.08020.39
7.0.30.0200.05320.33
7.0.20.0330.04020.39
7.0.10.0130.06020.35
7.0.00.0170.05320.35
5.6.230.0230.05020.63
5.6.220.0170.06020.63
5.6.210.0170.05320.75
5.6.200.0130.06321.07
5.6.190.0130.06321.03
5.6.180.0030.06721.09
5.6.170.0070.06321.07
5.6.160.0030.07321.13
5.6.150.0070.06321.18
5.6.140.0100.05721.01
5.6.130.0170.07021.10
5.6.120.0170.05721.18
5.6.110.0170.05721.07
5.6.100.0170.05721.05
5.6.90.0130.05721.17
5.6.80.0130.05320.53
5.6.70.0130.05320.43
5.6.60.0170.05020.54
5.6.50.0100.05720.41
5.6.40.0100.05720.53
5.6.30.0130.05320.54
5.6.20.0130.05320.52
5.6.10.0070.05720.44
5.6.00.0100.05320.44

preferences:
60.95 ms | 401 KiB | 5 Q