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) { $vals = array(); $elements = array(); preg_match_all('[^ \t\n;](.+?):',$matches[2][$key],$elements); print_R($elements); } 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.0110.00718.92
8.3.30.0090.00618.91
8.3.20.0040.00418.75
8.3.10.0030.00520.86
8.3.00.0040.00419.63
8.2.170.0140.00722.96
8.2.160.0030.01621.50
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0100.00720.14
8.2.110.0060.00321.25
8.2.100.0090.00317.97
8.2.90.0090.00021.03
8.2.80.0000.00818.16
8.2.70.0040.00817.88
8.2.60.0030.00618.05
8.2.50.0030.00618.07
8.2.40.0000.00718.34
8.2.30.0060.00318.21
8.2.20.0000.00817.81
8.2.10.0000.00817.81
8.2.00.0040.00417.94
8.1.270.0130.00324.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.92
8.1.230.0080.00420.96
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0000.01017.48
8.1.190.0030.00517.39
8.1.180.0060.00318.10
8.1.170.0050.00318.79
8.1.160.0000.00718.84
8.1.150.0020.00518.87
8.1.140.0090.00217.65
8.1.130.0000.00717.87
8.1.120.0040.00417.58
8.1.110.0040.00317.57
8.1.100.0040.00417.65
8.1.90.0000.00717.54
8.1.80.0000.00817.63
8.1.70.0020.00517.52
8.1.60.0060.00317.62
8.1.50.0020.00517.63
8.1.40.0000.00817.70
8.1.30.0050.00217.82
8.1.20.0000.00917.84
8.1.10.0000.00717.70
8.1.00.0030.00517.69
8.0.300.0040.00420.02
8.0.290.0040.00416.88
8.0.280.0000.00718.42
8.0.270.0030.00517.23
8.0.260.0000.00716.92
8.0.250.0040.00417.24
8.0.240.0030.00317.16
8.0.230.0030.00317.13
8.0.220.0000.00817.05
8.0.210.0040.00417.00
8.0.200.0060.00017.16
8.0.190.0000.00717.13
8.0.180.0040.00417.03
8.0.170.0000.00917.15
8.0.160.0030.00317.14
8.0.150.0000.00817.04
8.0.140.0090.00316.96
8.0.130.0030.00313.54
8.0.120.0040.00417.12
8.0.110.0070.00017.00
8.0.100.0040.00417.12
8.0.90.0000.00816.98
8.0.80.0030.01217.05
8.0.70.0050.00217.03
8.0.60.0040.00417.09
8.0.50.0050.00317.04
8.0.30.0050.01417.23
8.0.20.0110.00917.23
8.0.10.0040.00417.23
8.0.00.0060.01217.01
7.4.330.0000.00513.20
7.4.320.0030.00316.83
7.4.300.0090.00016.66
7.4.290.0000.00816.74
7.4.280.0080.00016.77
7.4.270.0030.00316.84
7.4.260.0000.00513.44
7.4.250.0060.00316.89
7.4.240.0000.00816.84
7.4.230.0030.00316.66
7.4.220.0100.01416.86
7.4.210.0070.00816.83
7.4.200.0030.00316.99
7.4.190.0040.00416.98
7.4.160.0080.00816.59
7.4.150.0090.00916.79
7.4.140.0110.01116.85
7.4.130.0120.00616.85
7.4.120.0020.01516.83
7.4.110.0030.01316.70
7.4.100.0060.01316.67
7.4.90.0120.00616.78
7.4.80.0110.01116.59
7.4.70.0110.00716.53
7.4.60.0140.00716.79
7.4.50.0030.00616.93
7.4.40.0030.01016.40
7.4.30.0100.00716.85
7.4.00.0110.00415.04
7.3.330.0030.00313.50
7.3.320.0000.00513.50
7.3.310.0000.00816.51
7.3.300.0030.00316.46
7.3.290.0060.00916.53
7.3.280.0090.00916.51
7.3.270.0130.00616.70
7.3.260.0090.01416.49
7.3.250.0130.00716.54
7.3.240.0110.00616.85
7.3.230.0070.01116.73
7.3.210.0070.01016.43
7.3.200.0030.01419.39
7.3.190.0100.01016.75
7.3.180.0060.01216.68
7.3.170.0060.00916.52
7.3.160.0060.01016.68
7.3.120.0120.00315.01
7.2.330.0030.01616.91
7.2.320.0060.01116.74
7.2.310.0140.00416.81
7.2.300.0100.00716.86
7.2.290.0140.00316.78
7.2.00.0000.01219.66
7.1.100.0060.00618.48
7.1.70.0050.00317.39
7.1.60.0130.01319.40
7.1.50.0030.01717.30
7.1.00.0000.07322.46
7.0.200.0030.00516.93
7.0.140.0030.07321.97
7.0.120.0100.06722.26
7.0.60.0100.04320.07
7.0.50.0130.04317.90
7.0.40.0100.08320.25
7.0.30.0230.06320.11
7.0.20.0270.07020.20
7.0.10.0200.03720.39
7.0.00.0030.09020.07
5.6.280.0030.07320.99
5.6.210.0170.07720.54
5.6.200.0030.04318.23
5.6.190.0070.08320.57
5.6.180.0270.03720.49
5.6.170.0330.07320.41
5.6.160.0100.05720.46
5.6.150.0130.06018.17
5.6.140.0100.08018.11
5.6.130.0070.06718.28
5.6.120.0100.08321.07
5.6.110.0130.08320.98
5.6.100.0070.06321.01
5.6.90.0030.09020.98
5.6.80.0030.04020.41
5.6.70.0230.06020.42
5.5.350.0330.07320.41
5.5.340.0100.05018.02
5.5.330.0130.07320.37
5.5.320.0070.05020.44
5.5.310.0370.05020.32
5.5.300.0030.05018.04
5.5.290.0070.04718.04
5.5.280.0000.05720.89
5.5.270.0100.03720.70
5.5.260.0170.07320.87
5.5.250.0100.07320.69
5.5.240.0100.05720.36
5.4.450.0100.08319.57
5.4.440.0070.07719.17
5.4.430.0070.04019.44
5.4.420.0070.07719.44
5.4.410.0070.08319.25
5.4.400.0100.08019.20
5.4.390.0130.06718.86
5.4.380.0030.05319.20
5.4.370.0130.06019.16
5.4.360.0070.07719.20
5.4.350.0030.07318.87
5.4.340.0030.07719.16
5.4.320.0100.07718.85
5.4.310.0030.05319.14
5.4.300.0030.06019.18
5.4.290.0030.06319.02
5.4.280.0030.05719.14
5.4.270.0070.07319.14
5.4.260.0130.06318.92
5.4.250.0030.07319.14
5.4.240.0100.03718.86
5.4.230.0030.07319.00
5.4.220.0070.08018.96
5.4.210.0070.07019.16
5.4.200.0000.08319.23
5.4.190.0030.04019.13
5.4.180.0070.07019.23
5.4.170.0100.07319.14
5.4.160.0030.07318.96
5.4.150.0030.08318.96
5.4.140.0100.06716.35
5.4.130.0100.06016.59
5.4.120.0100.05316.50
5.4.110.0170.05716.34
5.4.100.0100.03316.45
5.4.90.0000.04016.27
5.4.80.0100.07716.44
5.4.70.0030.03716.48
5.4.60.0070.04316.36
5.4.50.0070.03716.40
5.4.40.0030.05016.40
5.4.30.0070.06716.39
5.4.20.0100.05316.42
5.4.10.0070.03316.38
5.4.00.0030.07315.82
5.3.290.0030.04014.67
5.3.280.0070.07014.59
5.3.270.0030.04314.61
5.3.260.0000.07014.62
5.3.250.0170.03714.53
5.3.240.0070.07014.63
5.3.230.0200.05314.51
5.3.220.0130.06714.59
5.3.210.0030.07714.57
5.3.200.0100.06714.72
5.3.190.0030.04314.60
5.3.180.0170.06314.72
5.3.170.0070.04014.57
5.3.160.0030.08014.61
5.3.150.0100.05314.48
5.3.140.0070.03714.58
5.3.130.0030.04714.69
5.3.120.0030.09314.64
5.3.110.0000.04014.55
5.3.100.0070.04313.95
5.3.90.0000.04314.02
5.3.80.0030.04714.03
5.3.70.0030.07314.05
5.3.60.0070.07314.05
5.3.50.0000.04014.00
5.3.40.0030.08014.00
5.3.30.0130.06713.93
5.3.20.0070.07013.69
5.3.10.0000.06013.65
5.3.00.0030.05013.63
5.2.170.0130.03311.21
5.2.160.0070.05011.07
5.2.150.0070.06011.20
5.2.140.0000.04311.09
5.2.130.0000.04311.11
5.2.120.0070.06311.07
5.2.110.0100.04011.14
5.2.100.0070.03311.10
5.2.90.0030.06311.16
5.2.80.0070.06011.06
5.2.70.0070.03010.98
5.2.60.0030.06311.07
5.2.50.0070.03710.98
5.2.40.0000.03311.04
5.2.30.0070.05711.02
5.2.20.0070.03311.01
5.2.10.0100.03710.98
5.2.00.0070.05710.98
5.1.60.0070.05310.98
5.1.50.0130.04310.98
5.1.40.0130.04010.98
5.1.30.0100.02010.98
5.1.20.0030.02710.98
5.1.10.0000.03710.98
5.1.00.0030.02710.98
5.0.50.0000.03310.98
5.0.40.0030.03310.98
5.0.30.0000.03710.98
5.0.20.0030.04710.98
5.0.10.0000.04010.98
5.0.00.0070.02710.98
4.4.90.0000.01710.98
4.4.80.0000.02710.98
4.4.70.0000.03710.98
4.4.60.0070.03310.98
4.4.50.0000.01710.98
4.4.40.0030.03710.98
4.4.30.0000.02310.98
4.4.20.0030.02010.98
4.4.10.0000.03310.98
4.4.00.0030.04710.98
4.3.110.0030.01310.98
4.3.100.0000.02010.98
4.3.90.0100.02710.98
4.3.80.0000.04710.98
4.3.70.0000.01710.98
4.3.60.0000.02010.98
4.3.50.0030.03010.98
4.3.40.0000.04710.98
4.3.30.0070.01310.98
4.3.20.0030.01310.98
4.3.10.0000.01710.98
4.3.00.0030.01310.98

preferences:
41.93 ms | 400 KiB | 5 Q