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(); $realMatches[$val] = array(); preg_match_all('/([^ \t\n;]+?):(.+?);/',$matches[2][$key],$elements); foreach ($elements[1] as $k => $v) { $realMatches[$val][] = array($v,$elements[2][$k]); } } 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.40.0130.00319.04
8.3.30.0110.01118.79
8.3.20.0040.00418.94
8.3.10.0000.00820.61
8.3.00.0090.00623.31
8.2.170.0130.00722.96
8.2.160.0100.00320.35
8.2.150.0090.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00019.37
8.2.110.0090.00021.16
8.2.100.0060.00618.16
8.2.90.0050.00319.29
8.2.80.0000.00817.97
8.2.70.0090.00017.73
8.2.60.0000.00817.79
8.2.50.0040.00418.07
8.2.40.0030.00518.34
8.2.30.0040.00419.85
8.2.20.0030.00617.78
8.2.10.0000.00817.92
8.2.00.0040.00417.99
8.1.270.0050.00323.99
8.1.260.0090.00926.35
8.1.250.0070.00028.09
8.1.240.0060.00322.51
8.1.230.0090.00321.00
8.1.220.0000.00918.77
8.1.210.0000.00819.04
8.1.200.0030.00617.72
8.1.190.0040.00417.64
8.1.180.0070.00018.10
8.1.170.0040.00418.79
8.1.160.0050.00218.89
8.1.150.0080.00018.82
8.1.140.0000.00817.55
8.1.130.0000.00717.76
8.1.120.0080.00017.70
8.1.110.0000.00717.65
8.1.100.0050.00317.64
8.1.90.0030.00517.65
8.1.80.0070.00017.52
8.1.70.0000.00717.63
8.1.60.0060.00317.70
8.1.50.0000.00817.54
8.1.40.0000.00817.74
8.1.30.0080.00017.83
8.1.20.0000.00817.86
8.1.10.0000.00817.82
8.1.00.0090.00017.67
8.0.300.0080.00020.02
8.0.290.0040.00417.00
8.0.280.0030.00318.41
8.0.270.0040.00417.22
8.0.260.0030.00316.92
8.0.250.0000.00717.15
8.0.240.0100.00017.02
8.0.230.0000.00717.05
8.0.220.0000.00717.00
8.0.210.0020.00517.14
8.0.200.0040.00417.00
8.0.190.0040.00417.13
8.0.180.0040.00417.02
8.0.170.0040.00317.04
8.0.160.0080.00017.07
8.0.150.0000.00817.00
8.0.140.0070.00416.96
8.0.130.0060.00013.38
8.0.120.0020.00517.01
8.0.110.0080.00017.03
8.0.100.0040.00417.19
8.0.90.0050.00217.08
8.0.80.0060.01017.13
8.0.70.0040.00416.95
8.0.60.0050.00317.06
8.0.50.0040.00416.94
8.0.30.0140.00917.25
8.0.20.0100.00917.40
8.0.10.0030.00617.31
8.0.00.0120.00716.87
7.4.330.0030.00314.98
7.4.320.0000.00616.87
7.4.300.0030.00316.75
7.4.290.0000.00716.73
7.4.280.0040.00416.75
7.4.270.0030.00316.74
7.4.260.0030.00313.55
7.4.250.0040.00416.82
7.4.240.0040.00416.75
7.4.230.0030.00316.66
7.4.220.0060.01616.85
7.4.210.0080.00716.82
7.4.200.0000.00716.71
7.4.190.0040.00416.70
7.4.160.0080.01516.73
7.4.150.0100.01317.40
7.4.140.0130.00817.86
7.4.130.0090.00816.78
7.4.120.0070.01316.78
7.4.110.0090.00916.65
7.4.100.0070.01016.61
7.4.90.0100.01416.73
7.4.80.0070.01119.37
7.4.70.0100.01016.43
7.4.60.0130.00416.61
7.4.50.0090.00016.80
7.4.40.0030.01322.27
7.4.30.0070.01516.80
7.4.00.0030.01315.28
7.3.330.0000.00513.53
7.3.320.0050.00013.49
7.3.310.0090.00016.64
7.3.300.0000.00716.43
7.3.290.0070.01116.63
7.3.280.0100.00716.54
7.3.270.0070.01117.40
7.3.260.0090.00718.24
7.3.250.0100.00916.70
7.3.240.0030.01316.85
7.3.230.0070.01116.54
7.3.210.0100.00716.47
7.3.200.0110.00819.39
7.3.190.0120.01116.55
7.3.180.0030.01316.86
7.3.170.0080.00816.78
7.3.160.0060.01316.60
7.3.120.0030.01014.99
7.3.110.0100.00715.18
7.3.100.0110.00415.13
7.3.90.0140.00015.21
7.3.80.0110.00415.02
7.3.70.0070.00415.02
7.3.60.0030.01215.09
7.3.50.0040.00814.77
7.3.40.0030.01215.11
7.3.30.0120.00315.13
7.3.20.0110.00016.86
7.3.10.0050.00916.80
7.3.00.0050.00916.84
7.2.330.0140.00316.88
7.2.320.0060.01716.94
7.2.310.0080.01116.72
7.2.300.0160.00616.86
7.2.290.0090.00616.70
7.2.250.0040.01515.36
7.2.240.0090.00915.45
7.2.230.0000.01115.52
7.2.220.0000.01515.13
7.2.210.0070.00715.37
7.2.200.0030.01315.22
7.2.190.0000.01115.31
7.2.180.0060.00915.14
7.2.170.0000.01315.45
7.2.130.0090.00516.87
7.2.120.0120.00316.96
7.2.110.0020.01317.01
7.2.100.0100.00617.18
7.2.90.0050.01017.10
7.2.80.0130.00917.13
7.2.70.0070.00716.97
7.2.60.0110.00417.12
7.2.50.0070.01017.05
7.2.40.0090.00617.10
7.2.30.0060.01117.06
7.2.20.0100.00517.00
7.2.10.0080.00617.07
7.2.00.0120.00817.98
7.1.330.0040.01116.23
7.1.320.0100.00316.02
7.1.310.0040.00816.30
7.1.300.0100.00715.94
7.1.290.0110.00416.08
7.1.280.0000.00815.96
7.1.270.0140.00015.91
7.1.260.0070.01015.89
7.1.250.0100.00815.95
7.1.200.0000.01216.01
7.1.100.0060.00618.36
7.1.70.0050.00517.36
7.1.60.0070.01519.40
7.1.50.0100.01317.09
7.1.00.0000.07322.38
7.0.200.0000.00916.95
7.0.140.0070.07322.08
7.0.60.0070.03719.96
7.0.50.0000.06017.89
7.0.40.0000.05317.74
7.0.30.0100.08317.86
7.0.20.0130.08017.85
7.0.10.0130.07317.77
7.0.00.0100.05317.83
5.6.280.0100.06721.04
5.6.210.0100.03320.49
5.6.200.0070.08318.29
5.6.190.0170.07018.16
5.6.180.0070.06018.11
5.6.170.0070.05318.27
5.6.160.0030.08318.19
5.6.150.0130.07718.19
5.6.140.0070.08018.27
5.6.130.0130.08018.23
5.6.120.0070.08318.13
5.6.110.0130.04718.13
5.6.100.0100.07318.22
5.6.90.0130.04718.25
5.6.80.0070.04017.54
5.6.70.0070.08017.55
5.6.60.0100.06017.55
5.6.50.0100.07017.50
5.6.40.0070.07717.52
5.6.30.0130.06317.54
5.6.20.0100.06317.63
5.6.10.0130.07017.64
5.6.00.0000.04317.53
5.5.350.0070.07720.46
5.5.340.0130.07017.94
5.5.330.0070.08018.08
5.5.320.0130.06317.99
5.5.310.0070.05317.98
5.5.300.0030.05017.99
5.5.290.0100.07717.98
5.5.280.0000.05318.07
5.5.270.0070.04017.99
5.5.260.0100.08317.94
5.5.250.0100.07717.77
5.5.240.0130.07017.35
5.5.230.0100.04717.46
5.5.220.0070.03717.33
5.5.210.0170.07017.44
5.5.200.0100.06317.42
5.5.190.0070.07717.30
5.5.180.0100.07717.34
5.5.160.0070.07017.42
5.5.150.0070.08017.30
5.5.140.0000.04317.38
5.5.130.0070.03717.34
5.5.120.0070.03717.38
5.5.110.0100.07717.30
5.5.100.0070.04017.24
5.5.90.0170.06717.27
5.5.80.0070.07717.23
5.5.70.0030.06717.22
5.5.60.0100.07017.25
5.5.50.0030.04317.22
5.5.40.0070.05717.21
5.5.30.0070.04317.31
5.5.20.0030.04317.23
5.5.10.0130.06017.32
5.5.00.0030.05317.22
5.4.450.0170.07019.38
5.4.440.0170.07019.34
5.4.430.0030.05719.36
5.4.420.0100.07019.59
5.4.410.0070.07719.23
5.4.400.0170.05718.99
5.4.390.0000.05019.12
5.4.380.0170.05318.96
5.4.370.0170.06319.02
5.4.360.0130.07019.04
5.4.350.0100.04319.09
5.4.340.0070.04319.14
5.4.320.0070.06018.98
5.4.310.0100.07019.14
5.4.300.0000.04719.09
5.4.290.0000.05019.03
5.4.280.0030.04019.03
5.4.270.0130.07019.02
5.4.260.0100.04719.09
5.4.250.0030.04019.13
5.4.240.0070.07718.95
5.4.230.0170.06319.01
5.4.220.0100.07019.01
5.4.210.0070.07019.04
5.4.200.0130.07319.05
5.4.190.0070.05719.11
5.4.180.0030.07318.87
5.4.170.0030.04719.09
5.4.160.0070.07319.10
5.4.150.0000.06718.95
5.4.140.0100.05316.34
5.4.130.0130.06316.51
5.4.120.0000.04016.30
5.4.110.0070.06316.60
5.4.100.0030.05316.44
5.4.90.0100.05716.43
5.4.80.0100.07316.42
5.4.70.0070.07316.52
5.4.60.0070.07716.45
5.4.50.0070.07016.38
5.4.40.0100.04716.52
5.4.30.0100.07316.20
5.4.20.0070.07716.35
5.4.10.0030.08016.26
5.4.00.0130.06716.02
5.3.290.0030.06014.68
5.3.280.0100.07714.65
5.3.270.0030.06314.60
5.3.260.0030.07014.57
5.3.250.0230.06314.61
5.3.240.0170.06314.46
5.3.230.0030.04314.65
5.3.220.0030.07714.53
5.3.210.0070.04714.60
5.3.200.0100.07314.67
5.3.190.0100.06714.64
5.3.180.0100.07314.55
5.3.170.0000.07714.62
5.3.160.0030.08014.60
5.3.150.0030.04314.42
5.3.140.0100.06314.61
5.3.130.0030.08314.55
5.3.120.0070.07014.77
5.3.110.0070.08014.56
5.3.100.0030.06714.07
5.3.90.0070.06714.05
5.3.80.0070.04313.91
5.3.70.0070.04714.11
5.3.60.0170.04014.00
5.3.50.0030.07713.98
5.3.40.0270.02713.79
5.3.30.0130.06313.96
5.3.20.0100.04313.59
5.3.10.0130.06313.75
5.3.00.0070.03713.66
5.2.170.0070.04011.14
5.2.160.0070.06311.18
5.2.150.0000.03711.11
5.2.140.0030.06311.19
5.2.130.0000.03311.15
5.2.120.0070.03311.00
5.2.110.0000.04311.18
5.2.100.0070.03311.15
5.2.90.0100.02711.13
5.2.80.0000.03310.91
5.2.70.0000.04011.14
5.2.60.0130.04311.15
5.2.50.0070.03011.07
5.2.40.0000.03311.21
5.2.30.0000.03310.94
5.2.20.0030.03711.05
5.2.10.0000.06010.90
5.2.00.0070.05710.71
5.1.60.0100.03710.09
5.1.50.0000.0409.94
5.1.40.0100.04710.05
5.1.30.0070.05710.36
5.1.20.0030.05710.57
5.1.10.0030.0339.99
5.1.00.0100.0539.99
5.0.50.0070.0278.64
5.0.40.0070.0208.45
5.0.30.0100.0608.38
5.0.20.0100.0408.38
5.0.10.0000.0378.38
5.0.00.0070.0408.38
4.4.90.0100.0108.38
4.4.80.0030.0208.38
4.4.70.0030.0338.38
4.4.60.0070.0208.38
4.4.50.0070.0308.38
4.4.40.0070.0338.38
4.4.30.0070.0338.38
4.4.20.0030.0378.38
4.4.10.0030.0308.38
4.4.00.0000.0338.38
4.3.110.0030.0178.38
4.3.100.0070.0238.38
4.3.90.0070.0308.38
4.3.80.0000.0338.38
4.3.70.0070.0238.38
4.3.60.0030.0238.38
4.3.50.0070.0338.38
4.3.40.0030.0508.38
4.3.30.0000.0378.38
4.3.20.0070.0238.38
4.3.10.0000.0208.38
4.3.00.0030.0378.38

preferences:
44.29 ms | 400 KiB | 5 Q