3v4l.org

run code in 300+ PHP versions simultaneously
<?php function parseCss($rawText) { $matches = array(); $selections = preg_match_all('/\/\* customize_(.+?) \*\/(.+?)\/\* customize_\1 \*\//m',$rawText,$matches); if (!$selections) return array(); $realMatches = array(); foreach($matches[1] as $key => $val) { $elements = array(); preg_match_all('/([^ \t\n;]+?):/',$matches[2][$key],$elements); $realMatches[$val] = $elements[1]; } return $realMatches; } print_r(parseCss(' #page #header #logo a { /* customize_header_logo */ color: #ffffff; font-family:Arial; /* customize_header_logo */ /* customize_header_logo_text */ font: normal bold 32px Arial; /* customize_header_logo_text */ text-decoration:none; }'));

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.0130.00918.55
8.3.50.0100.00722.06
8.3.40.0140.00419.11
8.3.30.0120.00319.13
8.3.20.0000.00720.33
8.3.10.0040.01121.89
8.3.00.0000.00822.34
8.2.180.0100.01018.41
8.2.170.0040.01122.96
8.2.160.0150.00022.30
8.2.150.0060.00324.18
8.2.140.0030.00524.66
8.2.130.0060.00326.16
8.2.120.0120.00319.43
8.2.110.0030.00622.38
8.2.100.0060.00918.03
8.2.90.0050.00319.05
8.2.80.0060.00317.97
8.2.70.0000.00917.75
8.2.60.0080.00018.16
8.2.50.0050.00318.07
8.2.40.0000.00818.05
8.2.30.0040.00418.08
8.2.20.0080.00017.76
8.2.10.0040.00417.91
8.2.00.0080.00017.84
8.1.280.0110.00425.92
8.1.270.0080.00023.92
8.1.260.0040.00426.35
8.1.250.0090.00628.09
8.1.240.0080.00023.86
8.1.230.0080.00319.17
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0000.01017.48
8.1.190.0000.00817.55
8.1.180.0080.00018.10
8.1.170.0040.00418.84
8.1.160.0050.00222.05
8.1.150.0000.00718.80
8.1.140.0050.00317.57
8.1.130.0070.00017.84
8.1.120.0070.00017.66
8.1.110.0040.00417.53
8.1.100.0100.00017.61
8.1.90.0040.00417.57
8.1.80.0000.00817.55
8.1.70.0080.00017.60
8.1.60.0030.00517.80
8.1.50.0040.00417.71
8.1.40.0000.00717.67
8.1.30.0030.00617.77
8.1.20.0000.00817.73
8.1.10.0000.00817.68
8.1.00.0000.00817.52
8.0.300.0070.00018.77
8.0.290.0040.00417.15
8.0.280.0000.00718.48
8.0.270.0000.00717.34
8.0.260.0000.00818.48
8.0.250.0000.00717.14
8.0.240.0000.00817.15
8.0.230.0030.00716.98
8.0.220.0040.00417.07
8.0.210.0000.00716.94
8.0.200.0030.00317.15
8.0.190.0000.00817.07
8.0.180.0050.00216.98
8.0.170.0040.00416.98
8.0.160.0040.00417.02
8.0.150.0070.00016.89
8.0.140.0050.00316.91
8.0.130.0030.00313.52
8.0.120.0060.00316.99
8.0.110.0000.00717.03
8.0.100.0070.00017.00
8.0.90.0040.00416.95
8.0.80.0080.00817.04
8.0.70.0000.00717.05
8.0.60.0040.00417.06
8.0.50.0050.00316.90
8.0.30.0110.00817.03
8.0.20.0060.01317.40
8.0.10.0070.00017.19
8.0.00.0070.01216.96
7.4.330.0000.00615.04
7.4.320.0030.00316.71
7.4.300.0000.00616.81
7.4.290.0030.00316.75
7.4.280.0040.00416.73
7.4.270.0080.00016.81
7.4.260.0040.00416.73
7.4.250.0000.00816.62
7.4.240.0020.00616.79
7.4.230.0000.00716.66
7.4.220.0070.01116.86
7.4.210.0090.00716.79
7.4.200.0070.00016.89
7.4.190.0000.00716.89
7.4.160.0110.00516.64
7.4.150.0180.00717.40
7.4.140.0120.00517.86
7.4.130.0070.01216.75
7.4.120.0120.00516.76
7.4.110.0100.00616.77
7.4.100.0060.01116.88
7.4.90.0100.00716.54
7.4.80.0040.01816.87
7.4.70.0130.00316.87
7.4.60.0070.01016.77
7.4.50.0060.00316.34
7.4.40.0040.00822.77
7.4.30.0070.01016.81
7.4.00.0040.01115.27
7.3.330.0030.00313.51
7.3.320.0000.00513.58
7.3.310.0070.00016.50
7.3.300.0040.00416.52
7.3.290.0060.00916.52
7.3.280.0120.00416.51
7.3.270.0140.00317.40
7.3.260.0130.00616.42
7.3.250.0050.01216.78
7.3.240.0140.00316.91
7.3.230.0090.00616.53
7.3.210.0090.00916.75
7.3.200.0120.01619.39
7.3.190.0100.00716.74
7.3.180.0110.00616.65
7.3.170.0130.00316.50
7.3.160.0120.00916.53
7.3.120.0080.01015.10
7.3.110.0060.00614.95
7.3.100.0150.00015.00
7.3.90.0070.00414.96
7.3.80.0140.00015.30
7.3.70.0080.00414.80
7.3.60.0110.00314.84
7.3.50.0040.01115.02
7.3.40.0040.01415.02
7.3.30.0040.00715.04
7.3.20.0060.00916.88
7.3.10.0030.01216.68
7.3.00.0080.00616.89
7.2.330.0080.00816.98
7.2.320.0100.00716.89
7.2.310.0080.00816.89
7.2.300.0060.01116.83
7.2.290.0130.00316.67
7.2.250.0110.00615.30
7.2.240.0110.00715.32
7.2.230.0130.00315.22
7.2.220.0060.00315.29
7.2.210.0060.00615.22
7.2.200.0030.01015.34
7.2.190.0000.01615.21
7.2.180.0040.01115.39
7.2.170.0030.00915.52
7.2.130.0090.00316.91
7.2.120.0090.00616.76
7.2.110.0120.00817.01
7.2.100.0030.01016.93
7.2.90.0060.00617.21
7.2.80.0130.00716.80
7.2.70.0160.00616.90
7.2.60.0090.00916.96
7.2.50.0120.00917.00
7.2.40.0070.01117.05
7.2.30.0150.00016.90
7.2.20.0220.00316.95
7.2.10.0070.01117.07
7.2.00.0100.00818.33
7.1.330.0030.01016.09
7.1.320.0030.00715.81
7.1.310.0030.00915.82
7.1.300.0040.00416.09
7.1.290.0080.00315.92
7.1.280.0060.00915.93
7.1.270.0110.00415.90
7.1.260.0140.00315.98
7.1.250.0100.00515.68
7.1.200.0030.01116.07
7.1.100.0000.01318.26
7.1.70.0040.00417.40
7.1.60.0030.01419.24
7.1.50.0060.00617.20
7.1.00.0000.07722.33
7.0.200.0060.00216.62
7.0.140.0070.07022.05
7.0.100.0230.06720.02
7.0.90.0130.07720.02
7.0.80.0030.08020.14
7.0.70.0170.07319.91
7.0.60.0170.07019.94
7.0.50.0100.07020.25
7.0.40.0100.04320.19
7.0.30.0070.08020.11
7.0.20.0070.08320.11
7.0.10.0100.08020.04
7.0.00.0100.08320.05
5.6.280.0170.05721.11
5.6.250.0170.07720.75
5.6.240.0130.08320.52
5.6.230.0100.08720.60
5.6.220.0100.08020.50
5.6.210.0130.07320.59
5.6.200.0130.06720.89
5.6.190.0100.08021.05
5.6.180.0170.07021.07
5.6.170.0100.07720.99
5.6.160.0170.07321.00
5.6.150.0070.08321.05
5.6.140.0100.08321.04
5.6.130.0100.07721.14
5.6.120.0030.08721.06
5.6.110.0030.08721.04
5.6.100.0170.06721.02
5.6.90.0100.07721.10
5.6.80.0100.08020.44
5.6.70.0070.08020.46
5.6.60.0130.05320.48
5.6.50.0030.08020.35
5.6.40.0070.08020.41
5.6.30.0130.06720.39
5.6.20.0130.07020.32
5.6.10.0130.07320.39
5.6.00.0030.09020.48
5.5.380.0100.06320.39
5.5.370.0100.07720.48
5.5.360.0130.07320.39
5.5.350.0130.06720.46
5.5.340.0100.05720.87
5.5.330.0030.08720.86
5.5.320.0070.08020.74
5.5.310.0100.08320.73
5.5.300.0030.08720.93
5.5.290.0170.07020.89
5.5.280.0200.07320.83
5.5.270.0000.07020.83
5.5.260.0100.08720.89
5.5.250.0000.08720.66
5.5.240.0270.06320.25
5.5.230.0130.06720.16
5.5.220.0100.07720.18
5.5.210.0100.07720.31
5.5.200.0170.06320.22
5.5.190.0070.07720.27
5.5.180.0070.07320.13
5.5.160.0130.07320.09
5.5.150.0100.07720.18
5.5.140.0000.08320.25
5.5.130.0030.08320.24
5.5.120.0070.05320.15
5.5.110.0130.06020.14
5.5.100.0070.07720.09
5.5.90.0070.08020.07
5.5.80.0130.07720.08
5.5.70.0100.07319.94
5.5.60.0070.08320.16
5.5.50.0030.07319.97
5.5.40.0170.06020.12
5.5.30.0100.06720.11
5.5.20.0030.07720.13
5.5.10.0130.06020.07
5.5.00.0070.07320.00
5.4.450.0130.07719.45
5.4.440.0000.05319.20
5.4.430.0130.06319.37
5.4.420.0100.08019.20
5.4.410.0100.07319.23
5.4.400.0100.07019.05
5.4.390.0000.08019.14
5.4.380.0100.07319.13
5.4.370.0100.07019.18
5.4.360.0170.07019.21
5.4.350.0100.08319.16
5.4.340.0100.06319.14
5.4.320.0070.07719.14
5.4.310.0170.06719.04
5.4.300.0070.07719.04
5.4.290.0070.07719.21
5.4.280.0130.07019.18
5.4.270.0030.07319.04
5.4.260.0030.07719.18
5.4.250.0070.07719.18
5.4.240.0130.07019.10
5.4.230.0200.06319.18
5.4.220.0030.08019.20
5.4.210.0070.07319.10
5.4.200.0070.07319.04
5.4.190.0070.04719.02
5.4.180.0070.07319.15
5.4.170.0030.07318.84
5.4.160.0100.07019.12
5.4.150.0070.06719.03
5.4.140.0030.07716.51
5.4.130.0100.03316.46
5.4.120.0170.05316.51
5.4.110.0100.05016.49
5.4.100.0030.04716.33
5.4.90.0030.04016.55
5.4.80.0030.04016.54
5.4.70.0130.06016.38
5.4.60.0130.07016.48
5.4.50.0070.05716.54
5.4.40.0100.07016.50
5.4.30.0130.06716.49
5.4.20.0030.07016.31
5.4.10.0070.06716.39
5.4.00.0100.06715.78
5.3.290.0100.06714.59
5.3.280.0130.07314.64
5.3.270.0100.08014.71
5.3.260.0030.07314.58
5.3.250.0170.06714.55
5.3.240.0100.06314.72
5.3.230.0100.07014.55
5.3.220.0100.07014.71
5.3.210.0070.04314.63
5.3.200.0000.07014.50
5.3.190.0100.06014.54
5.3.180.0070.07014.57
5.3.170.0070.04714.51
5.3.160.0130.06714.57
5.3.150.0070.07714.54
5.3.140.0130.07014.62
5.3.130.0170.05714.58
5.3.120.0000.08314.49
5.3.110.0100.07314.50
5.3.100.0170.06714.02
5.3.90.0030.07714.14
5.3.80.0070.03714.05
5.3.70.0030.04314.08
5.3.60.0070.06714.14
5.3.50.0030.07713.86
5.3.40.0070.07713.94
5.3.30.0070.04013.96
5.3.20.0070.03713.70
5.3.10.0130.06313.65
5.3.00.0130.07013.65
5.2.170.0030.04011.25
5.2.160.0030.04311.21
5.2.150.0030.06711.16
5.2.140.0100.06011.07
5.2.130.0100.06011.10
5.2.120.0130.03311.10
5.2.110.0030.06311.24
5.2.100.0070.05711.13
5.2.90.0070.05711.21
5.2.80.0030.06311.23
5.2.70.0070.03011.01
5.2.60.0070.04711.12
5.2.50.0030.03311.12
5.2.40.0070.06011.03
5.2.30.0030.06010.87
5.2.20.0100.05710.89
5.2.10.0100.05711.00
5.2.00.0030.06710.63
5.1.60.0100.04310.49
5.1.50.0000.05310.49
5.1.40.0070.04310.49
5.1.30.0030.03710.49
5.1.20.0030.06010.49
5.1.10.0070.05310.49
5.1.00.0030.04310.49
5.0.50.0070.04010.49
5.0.40.0070.03710.49
5.0.30.0070.06010.49
5.0.20.0100.03710.49
5.0.10.0000.04710.49
5.0.00.0030.06710.49
4.4.90.0000.03710.49
4.4.80.0070.03010.49
4.4.70.0070.03310.49
4.4.60.0000.03310.49
4.4.50.0070.02010.49
4.4.40.0070.05010.49
4.4.30.0070.03010.49
4.4.20.0100.02710.49
4.4.10.0030.03310.49
4.4.00.0030.03710.49
4.3.110.0000.03310.49
4.3.100.0000.04010.49
4.3.90.0070.03310.49
4.3.80.0030.04310.49
4.3.70.0030.03310.49
4.3.60.0030.03310.49
4.3.50.0000.03710.49
4.3.40.0000.04310.49
4.3.30.0070.03310.49
4.3.20.0000.04010.49
4.3.10.0070.03010.49
4.3.00.0030.03310.49

preferences:
55.91 ms | 401 KiB | 5 Q