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) { $realMatches[$val] = $matches[2][$key]; } return $realMatches; } print_r(parseCss(' #page #header #logo a { /* customize_header_logo */ color: #ffffff; /* 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.40.0120.00418.96
8.3.30.0110.00419.14
8.3.20.0030.00618.90
8.3.10.0080.00018.85
8.3.00.0110.00017.88
8.2.170.0120.00322.96
8.2.160.0030.01021.37
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00422.38
8.2.110.0040.00721.31
8.2.100.0080.00417.84
8.2.90.0030.00619.34
8.2.80.0000.00819.25
8.2.70.0030.00617.88
8.2.60.0040.00417.92
8.2.50.0030.00618.07
8.2.40.0000.00718.02
8.2.30.0080.00017.96
8.2.20.0000.00919.71
8.2.10.0000.00718.03
8.2.00.0030.00617.95
8.1.270.0060.00324.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.60
8.1.230.0060.00620.88
8.1.220.0050.00317.78
8.1.210.0000.00918.95
8.1.200.0030.00617.35
8.1.190.0080.00017.53
8.1.180.0000.00818.10
8.1.170.0040.00418.89
8.1.160.0050.00218.83
8.1.150.0000.00718.71
8.1.140.0070.00017.67
8.1.130.0000.00717.97
8.1.120.0000.00717.49
8.1.110.0000.00717.50
8.1.100.0070.00017.66
8.1.90.0020.00517.50
8.1.80.0000.00717.60
8.1.70.0030.00317.51
8.1.60.0000.00917.73
8.1.50.0040.00417.61
8.1.40.0040.00417.62
8.1.30.0000.00917.74
8.1.20.0030.00517.73
8.1.10.0050.00317.74
8.1.00.0000.00817.68
8.0.300.0000.00820.01
8.0.290.0050.00317.00
8.0.280.0070.00018.45
8.0.270.0000.00717.16
8.0.260.0030.00316.91
8.0.250.0070.00017.06
8.0.240.0000.00817.02
8.0.230.0030.00317.19
8.0.220.0000.00717.18
8.0.210.0100.00017.08
8.0.200.0070.00017.05
8.0.190.0040.00417.04
8.0.180.0020.00517.19
8.0.170.0030.00517.12
8.0.160.0040.00416.98
8.0.150.0030.00617.00
8.0.140.0080.00316.95
8.0.130.0000.00613.60
8.0.120.0040.00417.11
8.0.110.0070.00017.16
8.0.100.0000.00717.01
8.0.90.0030.00517.18
8.0.80.0160.00017.18
8.0.70.0050.00316.94
8.0.60.0070.00017.00
8.0.50.0000.00817.17
8.0.30.0090.01117.23
8.0.20.0080.01217.26
8.0.10.0000.00717.17
8.0.00.0070.01016.93
7.4.330.0030.00313.20
7.4.320.0030.00316.84
7.4.300.0030.00316.76
7.4.290.0000.01016.70
7.4.280.0020.00516.73
7.4.270.0040.00416.74
7.4.260.0000.00613.48
7.4.250.0050.00316.70
7.4.240.0040.00416.79
7.4.230.0050.00316.57
7.4.220.0030.01416.77
7.4.210.0090.00816.81
7.4.200.0030.00316.69
7.4.190.0040.00416.89
7.4.160.0160.00316.66
7.4.150.0080.00816.69
7.4.140.0110.00716.83
7.4.130.0120.00616.75
7.4.120.0110.00616.87
7.4.110.0140.00316.80
7.4.100.0180.00016.72
7.4.90.0080.01116.66
7.4.80.0090.00919.39
7.4.70.0030.01416.98
7.4.60.0130.00416.61
7.4.50.0040.00716.73
7.4.40.0060.00816.70
7.4.30.0090.00616.77
7.4.00.0030.01314.99
7.3.330.0040.00413.41
7.3.320.0000.00613.37
7.3.310.0030.00516.44
7.3.300.0030.00316.60
7.3.290.0090.00616.52
7.3.280.0080.01016.58
7.3.270.0100.00716.65
7.3.260.0060.01916.68
7.3.250.0130.01016.66
7.3.240.0070.01116.65
7.3.230.0080.01216.59
7.3.210.0000.02116.89
7.3.200.0090.01216.66
7.3.190.0170.00016.50
7.3.180.0150.00416.49
7.3.170.0080.00816.57
7.3.160.0000.01616.61
7.3.120.0140.00315.05
7.2.330.0060.01616.89
7.2.320.0140.00616.88
7.2.310.0100.01316.98
7.2.300.0030.01516.79
7.2.290.0060.01216.89
7.2.60.0040.00816.70
7.2.00.0030.00719.75
7.1.200.0040.00816.06
7.1.100.0030.00917.99
7.1.70.0030.00517.50
7.1.60.0070.00719.40
7.1.50.0070.01317.24
7.1.00.0000.07022.30
7.0.200.0420.00714.43
7.0.140.0070.07022.21
7.0.120.0030.05722.02
7.0.110.0130.07019.99
7.0.100.0130.05320.11
7.0.90.0000.09020.09
7.0.80.0130.07019.93
7.0.70.0200.06020.06
7.0.60.0130.04020.04
7.0.50.0170.07319.96
7.0.40.0070.06719.79
7.0.30.0170.06719.68
7.0.20.0030.07319.66
7.0.10.0030.08319.75
7.0.00.0070.06719.65
5.6.280.0070.07020.99
5.6.260.0130.07020.70
5.6.250.0170.05320.70
5.6.240.0000.07720.56
5.6.230.0030.08720.66
5.6.220.0200.07320.65
5.6.210.0170.07320.58
5.6.200.0130.07020.71
5.6.190.0070.05020.64
5.6.180.0070.05720.86
5.6.170.0070.04720.59
5.6.160.0130.07320.59
5.6.150.0030.09020.57
5.6.140.0000.06720.85
5.6.130.0130.07720.62
5.6.120.0000.09320.67
5.6.110.0170.07320.61
5.6.100.0100.08320.67
5.6.90.0070.05020.54
5.6.80.0170.04719.86
5.6.70.0070.08020.06
5.6.60.0100.07719.96
5.6.50.0000.05020.02
5.6.40.0030.08020.01
5.6.30.0200.07019.83
5.6.20.0070.07719.92
5.6.10.0070.08019.91
5.6.00.0130.07319.98
5.5.380.0070.05320.54
5.5.370.0100.08020.33
5.5.360.0200.06320.51
5.5.350.0100.05020.53
5.5.340.0130.04020.84
5.5.330.0100.08320.82
5.5.320.0100.08320.77
5.5.310.0200.06720.74
5.5.300.0100.06020.66
5.5.290.0030.09320.94
5.5.280.0200.07020.95
5.5.270.0070.08320.84
5.5.260.0030.08320.77
5.5.250.0070.08320.51
5.5.240.0070.07720.27
5.5.230.0170.07320.35
5.5.220.0100.04320.27
5.5.210.0070.08020.28
5.5.200.0130.06720.34
5.5.190.0200.06020.09
5.5.180.0070.08320.25
5.5.160.0070.07720.16
5.5.150.0170.06720.29
5.5.140.0070.07020.23
5.5.130.0100.07720.16
5.5.120.0130.07020.30
5.5.110.0100.07320.36
5.5.100.0070.07320.21
5.5.90.0030.08320.14
5.5.80.0070.07720.25
5.5.70.0070.08020.04
5.5.60.0070.04720.09
5.5.50.0070.07320.13
5.5.40.0070.07320.09
5.5.30.0170.06720.00
5.5.20.0200.05719.98
5.5.10.0000.07720.04
5.5.00.0070.08020.10
5.4.450.0070.04719.49
5.4.440.0070.08319.57
5.4.430.0070.08019.56
5.4.420.0100.08019.32
5.4.410.0100.07019.38
5.4.400.0130.06319.18
5.4.390.0000.07719.03
5.4.380.0070.08019.03
5.4.370.0200.06319.31
5.4.360.0070.07318.91
5.4.350.0000.04318.95
5.4.340.0100.07319.18
5.4.320.0000.05319.31
5.4.310.0070.08019.03
5.4.300.0100.07719.00
5.4.290.0170.06718.97
5.4.280.0000.08319.22
5.4.270.0030.08019.01
5.4.260.0170.04319.05
5.4.250.0100.07319.33
5.4.240.0070.06019.00
5.4.230.0100.07019.08
5.4.220.0100.07719.31
5.4.210.0070.07319.24
5.4.200.0170.06319.11
5.4.190.0000.05719.01
5.4.180.0130.07018.98
5.4.170.0130.07718.96
5.4.160.0170.07019.15
5.4.150.0030.08019.16
5.4.140.0100.07716.54
5.4.130.0130.06716.35
5.4.120.0070.04316.29
5.4.110.0070.07716.43
5.4.100.0100.07316.41
5.4.90.0070.07716.47
5.4.80.0100.07016.54
5.4.70.0070.07716.57
5.4.60.0130.06316.44
5.4.50.0130.06016.39
5.4.40.0000.05016.34
5.4.30.0100.07316.44
5.4.20.0030.06716.56
5.4.10.0100.07016.62
5.4.00.0000.07316.07
5.3.290.0130.06714.79
5.3.280.0100.07314.74
5.3.270.0100.07314.64
5.3.260.0130.03314.56
5.3.250.0030.05014.69
5.3.240.0030.07014.76
5.3.230.0030.07314.46
5.3.220.0070.07314.65
5.3.210.0030.07014.59
5.3.200.0070.04314.54
5.3.190.0030.07714.58
5.3.180.0130.06714.79
5.3.170.0030.07014.79
5.3.160.0070.04014.79
5.3.150.0230.06014.56
5.3.140.0100.06714.56
5.3.130.0070.05314.40
5.3.120.0100.07314.54
5.3.110.0070.07314.63
5.3.100.0030.07014.06
5.3.90.0070.07314.03
5.3.80.0100.07314.16
5.3.70.0170.06714.04
5.3.60.0070.07714.00
5.3.50.0170.06313.92
5.3.40.0130.07313.94
5.3.30.0030.07313.94
5.3.20.0130.06713.76
5.3.10.0100.05713.51
5.3.00.0000.07313.64
5.2.170.0070.06011.93
5.2.160.0030.06711.93
5.2.150.0030.06711.93
5.2.140.0030.06311.93
5.2.130.0070.06011.93
5.2.120.0030.06311.93
5.2.110.0100.05311.93
5.2.100.0070.05711.93
5.2.90.0030.06011.93
5.2.80.0070.06711.93
5.2.70.0000.07011.93
5.2.60.0030.06011.93
5.2.50.0100.02711.93
5.2.40.0070.05711.93
5.2.30.0030.03711.93
5.2.20.0030.02711.93
5.2.10.0000.03311.93
5.2.00.0030.02711.93
5.1.60.0030.02711.93
5.1.50.0030.02311.93
5.1.40.0000.02711.93
5.1.30.0000.02711.93
5.1.20.0030.02311.93
5.1.10.0000.02711.93
5.1.00.0000.02711.93
5.0.50.0000.02011.93
5.0.40.0000.02011.93
5.0.30.0030.03311.93
5.0.20.0000.02011.93
5.0.10.0000.02011.93
5.0.00.0000.03011.93
4.4.90.0000.03011.93
4.4.80.0100.01011.93
4.4.70.0000.01711.93
4.4.60.0070.01311.93
4.4.50.0030.01711.93
4.4.40.0000.02711.93
4.4.30.0030.01311.93
4.4.20.0030.01711.93
4.4.10.0030.01311.93
4.4.00.0030.04011.93
4.3.110.0000.01711.93
4.3.100.0000.01711.93
4.3.90.0000.02011.93
4.3.80.0070.02011.93
4.3.70.0000.02011.93
4.3.60.0000.01711.93
4.3.50.0030.02711.93
4.3.40.0000.03011.93
4.3.30.0000.01311.93
4.3.20.0000.01311.93
4.3.10.0000.01711.93
4.3.00.0000.01711.93

preferences:
43.22 ms | 400 KiB | 5 Q