3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='ID=62981155;IT=OV80419674-62981155_1_3;OD=15.4;|ID=62981157;IT=OV80419674-62981157_1_3;OD=3.1;|ID=62981159;IT=OV80419674-62981159_1_3;OD=8.13;|'; preg_match_all("/(.*?)\=(.*?);/", $str, $match); //var_dump($match); $i = 0; foreach($match[1] as $key => $m){ if($m[0] == "|"){ $i++; $u[$i][substr($m,1)] = $match[2][$key]; }else{ $u[$i][$m] = $match[2][$key]; } } echo json_encode($u);

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.4.120.0070.00120.50
8.4.110.0070.01320.43
8.4.100.0150.00617.97
8.4.90.0120.00918.58
8.4.80.0100.01017.93
8.4.70.0060.00318.27
8.4.60.0110.01118.48
8.4.50.0150.00618.07
8.4.40.0160.00619.76
8.4.30.0140.00719.38
8.4.20.0100.01020.54
8.4.10.0040.00419.71
8.3.250.0120.00618.80
8.3.240.0080.00716.67
8.3.230.0100.00816.72
8.3.220.0130.00517.20
8.3.210.0110.00516.71
8.3.200.0130.00616.74
8.3.190.0110.00817.27
8.3.180.0070.00818.25
8.3.170.0060.01216.97
8.3.160.0160.00316.64
8.3.150.0110.00716.91
8.3.140.0120.00620.73
8.3.130.0100.01018.60
8.3.120.0080.00820.66
8.3.110.0090.00920.94
8.3.100.0040.00420.30
8.3.90.0050.00320.30
8.3.80.0090.00018.43
8.3.70.0140.00718.52
8.3.60.0100.00618.81
8.3.50.0120.00416.66
8.3.40.0070.00719.04
8.3.30.0070.01418.98
8.3.20.0030.00521.84
8.3.10.0040.00419.98
8.3.00.0050.00321.60
8.2.290.0060.00220.67
8.2.280.0040.00520.50
8.2.270.0160.00316.92
8.2.260.0040.00416.95
8.2.250.0120.00618.81
8.2.240.0030.00617.51
8.2.230.0030.00722.58
8.2.220.0060.00324.06
8.2.210.0070.00726.77
8.2.200.0090.00018.41
8.2.190.0040.01116.58
8.2.180.0180.00416.75
8.2.170.0110.00722.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.89
8.2.120.0070.00026.35
8.2.110.0080.00321.24
8.2.100.0090.00317.97
8.2.90.0090.00019.95
8.2.80.0060.00317.97
8.2.70.0000.00817.75
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0040.00418.18
8.2.30.0030.00618.15
8.2.20.0050.00318.14
8.2.10.0000.00819.34
8.2.00.0060.00318.16
8.1.330.0120.00722.19
8.1.320.0090.01116.41
8.1.310.0110.00416.77
8.1.300.0090.00018.00
8.1.290.0030.00618.88
8.1.280.0110.00325.92
8.1.270.0040.00420.22
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00322.60
8.1.230.0040.00720.78
8.1.220.0030.00517.74
8.1.210.0080.00018.81
8.1.200.0030.00617.47
8.1.190.0050.00317.60
8.1.180.0000.00818.10
8.1.170.0030.00518.77
8.1.160.0050.00218.90
8.1.150.0000.00718.79
8.1.140.0040.00418.91
8.1.130.0030.00320.15
8.1.120.0050.00317.51
8.1.110.0070.00017.66
8.1.100.0040.00717.57
8.1.90.0000.00717.63
8.1.80.0000.00717.65
8.1.70.0000.00717.67
8.1.60.0030.00717.73
8.1.50.0030.00517.58
8.1.40.0050.00317.68
8.1.30.0000.00917.66
8.1.20.0000.00917.70
8.1.10.0000.00817.66
8.1.00.0080.00017.65
8.0.300.0000.00719.89
8.0.290.0040.00416.75
8.0.280.0040.00418.32
8.0.270.0070.00017.16
8.0.260.0000.00618.46
8.0.250.0030.00317.05
8.0.240.0000.00717.06
8.0.230.0030.00316.97
8.0.220.0050.00216.98
8.0.210.0070.00017.04
8.0.200.0000.00716.99
8.0.190.0050.00217.09
8.0.180.0080.00017.09
8.0.170.0070.00317.03
8.0.160.0000.00816.96
8.0.150.0040.00416.94
8.0.140.0090.00016.99
8.0.130.0030.00313.52
8.0.120.0040.00416.88
8.0.110.0040.00416.94
8.0.100.0070.00017.04
8.0.90.0000.00716.86
8.0.80.0090.00616.97
8.0.70.0040.00417.08
8.0.60.0000.00817.00
8.0.50.0070.00017.04
8.0.30.0070.01017.15
8.0.20.0110.00817.42
8.0.10.0070.00017.19
8.0.00.0090.00916.81
7.4.330.0060.00016.71
7.4.320.0030.00316.81
7.4.300.0040.00416.66
7.4.290.0030.00416.84
7.4.280.0040.00716.72
7.4.270.0040.00416.81
7.4.260.0040.00416.75
7.4.250.0040.00416.70
7.4.240.0040.00416.87
7.4.230.0070.00016.79
7.4.220.0000.00816.89
7.4.210.0080.01016.83
7.4.200.0000.00716.73
7.4.160.0100.01016.74
7.4.140.0150.00417.86
7.4.130.0080.00816.85
7.4.120.0030.01416.66
7.4.110.0130.00316.54
7.4.100.0170.00016.69
7.4.90.0110.01416.53
7.4.80.0060.00919.39
7.4.70.0150.00916.79
7.4.60.0100.01016.82
7.4.50.0040.01516.59
7.4.40.0130.01016.53
7.4.00.0070.00715.29
7.3.330.0050.00013.21
7.3.320.0000.00513.21
7.3.310.0000.00716.48
7.3.300.0080.00016.52
7.3.290.0090.00916.46
7.3.280.0150.00616.44
7.3.260.0070.01216.63
7.3.240.0080.00916.60
7.3.230.0130.00316.70
7.3.210.0090.00916.53
7.3.200.0150.00016.42
7.3.190.0040.01216.83
7.3.180.0100.00716.87
7.3.170.0120.00416.60
7.3.160.0000.01516.69
7.3.50.0100.01015.12
7.3.40.0120.00915.11
7.3.30.0040.00715.04
7.3.20.0030.00916.58
7.3.10.0070.01316.86
7.3.00.0120.00916.92
7.2.330.0100.00716.88
7.2.320.0180.00316.78
7.2.310.0110.01116.82
7.2.300.0060.01316.74
7.2.290.0110.01016.80
7.2.180.0070.01315.01
7.2.170.0030.00915.04
7.2.160.0080.00415.19
7.2.150.0100.00317.29
7.2.140.0040.00717.19
7.2.130.0040.01117.15
7.2.120.0090.01217.21
7.2.110.0030.01017.30
7.2.100.0030.00716.91
7.2.90.0050.00517.13
7.2.80.0070.00417.10
7.2.70.0080.00316.82
7.2.60.0080.00317.27
7.2.50.0060.00917.01
7.2.40.0080.00717.06
7.2.30.0000.01417.02
7.2.20.0000.01517.19
7.2.10.0060.00916.99
7.2.00.0060.00916.86
7.1.280.0040.00815.78
7.1.270.0000.01015.94
7.1.260.0090.00916.25
7.1.250.0090.00315.99

preferences:
28.98 ms | 403 KiB | 5 Q