3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<< EOB /** preloader colors **/ @preloader_bg: #0081ff; @preloader_color: #fff; /** layout **/ @body_bg_image_position: ~'left top'; @body_bg_image_repeat: ~'no-repeat'; @body_bg_image_cover: ~'auto'; @body_bg_image: ~''; EOB; preg_match_all("~^@([^:]+):\s*([^;]+;?)$\K~m", $str, $matches); var_dump($matches);

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.0040.01118.79
8.3.30.0120.00319.02
8.3.20.0040.00420.29
8.3.10.0030.00521.85
8.3.00.0080.00022.64
8.2.170.0070.00718.91
8.2.160.0130.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00422.19
8.2.120.0040.00426.35
8.2.110.0120.00021.23
8.2.100.0120.00017.90
8.2.90.0080.00019.27
8.2.80.0060.00317.97
8.2.70.0000.00817.63
8.2.60.0050.00317.93
8.2.50.0070.00318.10
8.2.40.0040.00420.42
8.2.30.0000.00819.14
8.2.20.0050.00217.75
8.2.10.0000.00717.92
8.2.00.0090.00017.89
8.1.270.0000.00723.99
8.1.260.0040.00428.09
8.1.250.0030.00528.09
8.1.240.0100.00019.19
8.1.230.0110.00019.16
8.1.220.0070.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.22
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0040.00418.49
8.1.160.0040.00422.18
8.1.150.0040.00418.78
8.1.140.0040.00419.60
8.1.130.0080.00317.58
8.1.120.0050.00317.57
8.1.110.0040.00417.57
8.1.100.0070.00017.59
8.1.90.0080.00017.55
8.1.80.0040.00417.55
8.1.70.0050.00317.47
8.1.60.0030.00517.57
8.1.50.0060.00317.61
8.1.40.0000.00817.65
8.1.30.0000.00817.77
8.1.20.0060.00317.65
8.1.10.0050.00217.63
8.1.00.0000.00817.59
8.0.300.0040.00420.06
8.0.290.0000.00717.00
8.0.280.0050.00218.41
8.0.270.0030.00317.35
8.0.260.0040.00416.90
8.0.250.0000.00717.17
8.0.240.0000.00717.15
8.0.230.0000.00717.18
8.0.220.0000.00717.09
8.0.210.0070.00017.11
8.0.200.0030.00317.23
8.0.190.0020.00517.15
8.0.180.0050.00317.03
8.0.170.0000.00717.08
8.0.160.0000.00717.13
8.0.150.0070.00016.98
8.0.140.0000.00816.96
8.0.130.0030.00313.60
8.0.120.0000.00817.10
8.0.110.0020.00517.14
8.0.100.0000.00717.15
8.0.90.0040.00416.91
8.0.80.0110.00417.12
8.0.70.0040.00417.14
8.0.60.0040.00416.98
8.0.50.0040.00417.14
8.0.30.0130.00817.28
8.0.20.0110.00917.40
8.0.10.0080.00017.21
8.0.00.0120.00717.09
7.4.330.0030.00315.08
7.4.320.0000.00716.68
7.4.300.0060.00016.56
7.4.290.0050.00316.56
7.4.280.0040.00416.73
7.4.270.0030.00316.68
7.4.260.0030.00316.71
7.4.250.0070.00016.70
7.4.240.0070.00016.68
7.4.230.0040.00416.74
7.4.220.0070.01316.75
7.4.210.0090.00616.74
7.4.200.0000.00816.57
7.4.160.0070.00916.68
7.4.150.0160.01017.40
7.4.140.0120.00917.86
7.4.130.0120.00916.61
7.4.120.0120.01016.64
7.4.110.0080.01216.78
7.4.100.0110.00616.80
7.4.90.0090.01216.69
7.4.80.0030.01519.39
7.4.70.0070.01116.60
7.4.60.0060.01016.63
7.4.50.0140.00316.41
7.4.40.0070.01416.86
7.4.30.0070.01116.53
7.4.10.0070.01115.24
7.4.00.0050.01115.13
7.3.330.0000.00513.24
7.3.320.0030.00313.28
7.3.310.0070.00316.36
7.3.300.0030.00316.30
7.3.290.0000.00616.45
7.3.280.0070.00816.44
7.3.270.0000.01717.40
7.3.260.0140.00516.56
7.3.250.0070.01316.46
7.3.240.0120.00616.46
7.3.230.0090.00916.39
7.3.210.0070.01116.46
7.3.200.0100.01016.25
7.3.190.0060.01216.66
7.3.180.0150.00316.35
7.3.170.0040.01316.36
7.3.160.0070.01116.57
7.3.130.0080.00815.16
7.3.120.0080.00914.86
7.3.110.0070.01214.88
7.3.100.0050.01015.09
7.3.90.0080.00614.94
7.3.80.0080.00714.92
7.3.70.0100.00514.93
7.3.60.0050.00914.86
7.3.50.0100.00614.89
7.3.40.0060.00814.88
7.3.30.0050.01114.83
7.3.20.0050.01016.61
7.3.10.0050.01016.74
7.3.00.0040.01116.75
7.2.330.0140.00616.61
7.2.320.0110.01416.55
7.2.310.0110.00716.71
7.2.300.0110.01516.41
7.2.290.0070.01416.49
7.2.260.0060.01315.21
7.2.250.0090.01014.88
7.2.240.0000.01615.11
7.2.230.0070.00715.03
7.2.220.0040.00915.13
7.2.210.0090.00315.02
7.2.200.0040.00814.94
7.2.190.0050.00614.83
7.2.180.0050.01214.98
7.2.170.0040.01215.16
7.2.160.0100.00314.95
7.2.150.0060.00716.89
7.2.140.0050.01016.99
7.2.130.0050.00716.78
7.2.120.0050.01116.83
7.2.110.0050.00916.96
7.2.100.0040.00816.93
7.2.90.0070.00616.96
7.2.80.0070.00716.96
7.2.70.0050.01016.96
7.2.60.0030.01117.00
7.2.50.0060.00916.96
7.2.40.0070.00816.98
7.2.30.0060.00617.00
7.2.20.0090.00516.87
7.2.10.0010.01116.84
7.2.00.0050.01016.85
7.1.330.0090.00515.89
7.1.320.0060.01115.84
7.1.310.0060.00615.86
7.1.300.0070.00515.86
7.1.290.0030.00615.97
7.1.280.0020.00915.93
7.1.270.0050.00815.99
7.1.260.0030.01115.79
7.1.250.0060.00615.94
7.1.240.0060.00815.78
7.1.230.0040.00915.97
7.1.220.0050.00515.98
7.1.210.0080.00715.83
7.1.200.0070.00715.84
7.1.190.0060.00915.82
7.1.180.0040.00915.92
7.1.170.0030.01015.87
7.1.160.0030.00915.90
7.1.150.0070.00615.79
7.1.140.0030.01015.88
7.1.130.0020.01215.74
7.1.120.0020.01315.86
7.1.110.0060.01116.01
7.1.100.0070.01015.81
7.1.90.0060.00915.94
7.1.80.0070.00515.93
7.1.70.0060.00716.28
7.1.60.0090.00716.50
7.1.50.0040.00715.96
7.1.40.0070.00715.99
7.1.30.0110.00115.86
7.1.20.0080.00515.78
7.1.10.0070.00515.93
7.1.00.0030.03218.05
7.0.330.0060.00615.31
7.0.320.0040.00515.55
7.0.310.0080.00915.33
7.0.300.0070.00715.61
7.0.290.0050.00615.56
7.0.280.0030.01215.45
7.0.270.0100.00315.46
7.0.260.0070.00715.43
7.0.250.0050.01015.46
7.0.240.0090.00615.67
7.0.230.0060.00515.52
7.0.220.0020.01115.50
7.0.210.0050.00715.64
7.0.200.0080.00515.28
7.0.190.0050.00715.63
7.0.180.0070.00515.51
7.0.170.0070.00715.58
7.0.160.0050.00715.50
7.0.150.0060.00615.51
7.0.140.0040.00915.51
7.0.130.0060.00515.65
7.0.120.0070.00715.57
7.0.110.0060.00615.52
7.0.100.0090.02516.91
7.0.90.0110.02116.97
7.0.80.0070.02416.88
7.0.70.0100.01917.08
7.0.60.0090.02117.05
7.0.50.0080.02617.15
7.0.40.0060.02315.83
7.0.30.0070.02415.88
7.0.20.0030.02615.86
7.0.10.0020.02715.87
7.0.00.0100.02015.89
5.6.400.0070.00614.34
5.6.390.0100.00414.24
5.6.380.0050.00814.49
5.6.370.0050.01314.46
5.6.360.0110.00514.29
5.6.350.0100.00514.13
5.6.340.0060.00614.25
5.6.330.0030.00814.44
5.6.320.0100.00714.19
5.6.310.0070.00714.33
5.6.300.0050.00914.49
5.6.290.0040.00914.23
5.6.280.0050.00914.27
5.6.270.0040.00714.45
5.6.260.0050.00714.30
5.6.250.0050.02616.55
5.6.240.0060.02516.49
5.6.230.0080.02416.41
5.6.220.0090.02016.45
5.6.210.0030.02516.39
5.6.200.0140.01816.52
5.6.190.0140.02016.48
5.6.180.0090.02316.52
5.6.170.0080.02016.60
5.6.160.0040.02516.31
5.6.150.0050.02416.45
5.6.140.0090.02116.62
5.6.130.0110.02216.56
5.6.120.0080.02116.46
5.6.110.0100.02316.59
5.6.100.0080.03216.51
5.6.90.0070.02816.43
5.6.80.0060.02616.31
5.6.70.0070.02416.41
5.6.60.0080.02116.30
5.6.50.0080.02316.35
5.6.40.0110.02216.27
5.6.30.0090.01816.14
5.6.20.0060.02516.15
5.6.10.0100.02216.38
5.6.00.0080.01816.17

preferences:
36.55 ms | 400 KiB | 5 Q