3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "\n\n"; var_export(preg_match_all('~\V*(?=\R)~', $text, $matches) ? $matches[0] : []);

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.5.10.0120.00716.93
8.5.00.0110.01020.05
8.4.150.0000.00214.05
8.4.140.0130.00817.87
8.4.130.0160.00518.05
8.4.120.0030.00620.57
8.4.110.0130.00722.33
8.4.100.0120.01117.83
8.4.90.0140.00818.68
8.4.80.0040.00519.82
8.4.70.0060.00218.13
8.4.60.0090.01018.49
8.4.50.0110.01017.95
8.4.40.0000.01219.57
8.4.30.0140.00720.54
8.4.20.0100.00718.62
8.4.10.0100.00717.86
8.3.280.0150.00618.66
8.3.270.0120.00716.86
8.3.260.0100.01016.46
8.3.250.0060.00218.84
8.3.240.0100.00818.95
8.3.230.0110.00716.63
8.3.220.0110.00718.98
8.3.210.0100.00916.57
8.3.200.0040.00516.60
8.3.190.0120.00719.10
8.3.180.0070.00916.68
8.3.170.0130.00618.90
8.3.160.0090.00916.66
8.3.150.0110.00720.75
8.3.140.0060.00916.99
8.3.130.0040.00418.39
8.3.120.0030.00618.85
8.3.110.0040.00420.94
8.3.100.0030.00616.81
8.3.90.0050.00318.52
8.3.80.0060.00318.68
8.3.70.0130.01018.30
8.3.60.0160.00318.68
8.3.50.0250.00218.03
8.3.40.0120.00618.98
8.3.30.0040.01118.78
8.3.20.0070.00020.51
8.3.10.0050.00320.33
8.3.00.0050.00322.57
8.2.290.0140.00520.48
8.2.280.0110.00818.54
8.2.270.0160.00317.17
8.2.260.0080.00018.48
8.2.250.0090.00617.00
8.2.240.0030.00618.97
8.2.230.0030.00722.58
8.2.220.0030.00624.06
8.2.210.0140.00426.77
8.2.200.0060.00318.41
8.2.190.0040.01216.63
8.2.180.0110.00718.39
8.2.170.0110.00422.96
8.2.160.0070.00719.46
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.21
8.2.110.0120.00019.21
8.2.100.0070.00418.03
8.2.90.0130.00917.73
8.2.80.0030.00518.03
8.2.70.0090.00018.05
8.2.60.0140.00617.76
8.2.50.0040.00418.10
8.2.40.0040.00419.29
8.2.30.0040.00419.27
8.2.20.0000.00718.03
8.2.10.0060.00319.20
8.2.00.0080.00319.20
8.1.330.0120.00821.92
8.1.320.0100.00916.44
8.1.310.0150.00418.33
8.1.300.0030.00519.97
8.1.290.0040.00418.88
8.1.280.0070.01125.92
8.1.270.0040.00421.85
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0040.00423.97
8.1.230.0070.00422.66
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0110.01017.25
8.1.190.0080.00017.48
8.1.180.0060.00618.10
8.1.170.0000.00818.52
8.1.160.0040.00418.75
8.1.150.0040.00418.75
8.1.140.0000.00720.91
8.1.130.0040.00720.10
8.1.120.0030.00417.51
8.1.110.0070.00017.43
8.1.100.0000.00817.54
8.1.90.0030.00717.49
8.1.80.0040.00417.52
8.1.70.0070.00017.44
8.1.60.0040.00417.59
8.1.50.0080.00017.61
8.1.40.0060.00317.60
8.1.30.0050.00317.64
8.1.20.0030.00517.63
8.1.10.0080.00017.75
8.1.00.0070.00017.59
8.0.300.0040.00421.63
8.0.290.0030.00616.75
8.0.280.0000.00818.35
8.0.270.0030.00516.87
8.0.260.0030.00320.02
8.0.250.0020.00517.07
8.0.240.0060.00017.09
8.0.230.0080.00017.09
8.0.220.0030.00717.04
8.0.210.0000.00716.98
8.0.200.0030.00517.09
8.0.190.0040.00417.09
8.0.180.0040.00416.98
8.0.170.0040.00416.95
8.0.160.0030.00517.01
8.0.150.0030.00516.86
8.0.140.0000.00717.01
8.0.130.0030.00313.45
8.0.120.0000.00716.98
8.0.110.0000.00817.07
8.0.100.0040.00417.05
8.0.90.0080.00016.89
8.0.80.0030.01617.07
8.0.70.0020.00517.02
8.0.60.0000.00917.05
8.0.50.0080.00017.07
8.0.30.0080.01017.40
8.0.20.0160.00617.39
8.0.10.0040.00417.07
8.0.00.0130.00416.63
7.4.330.0000.00515.55
7.4.320.0000.00616.65
7.4.300.0000.00616.54
7.4.290.0030.00316.76
7.4.280.0030.00616.64
7.4.270.0030.00316.66
7.4.260.0060.00013.46
7.4.250.0000.00716.63
7.4.240.0020.00616.75
7.4.230.0050.00216.46
7.4.220.0000.00716.79
7.4.210.0060.01016.60
7.4.200.0030.00316.75
7.4.130.0110.00716.77
7.4.120.0090.00916.72
7.4.110.0070.01116.62
7.4.100.0090.01516.48
7.4.90.0070.01016.73
7.4.80.0110.00819.39
7.4.70.0070.01016.52
7.4.60.0100.01016.63
7.4.50.0140.00416.61
7.4.40.0090.01516.65
7.4.00.0070.00715.10
7.3.330.0000.00716.54
7.3.320.0030.00313.10
7.3.310.0070.00016.39
7.3.300.0040.00416.36
7.3.290.0030.00316.45
7.3.260.0080.01116.59
7.3.240.0110.00716.43
7.3.230.0100.00716.71
7.3.210.0030.01716.44
7.3.200.0090.01016.38
7.3.190.0110.00516.46
7.3.180.0130.00316.45
7.3.170.0100.00716.54
7.3.160.0150.00716.67
7.3.90.0070.01315.19
7.3.80.0030.01214.67
7.3.70.0060.00914.62
7.3.60.0070.00714.95
7.3.50.0070.01114.90
7.3.40.0070.00714.52
7.3.30.0080.00814.84
7.3.20.0130.01014.81
7.3.10.0080.00814.90
7.3.00.0100.00614.95
7.2.330.0100.00716.66
7.2.320.0100.00916.67
7.2.310.0110.00616.82
7.2.300.0140.00416.50
7.2.290.0030.01316.79
7.2.220.0080.00614.98
7.2.210.0060.00914.87
7.2.200.0140.00414.88
7.2.190.0090.00615.07
7.2.180.0130.00615.11
7.2.170.0090.00615.09
7.2.160.0130.00314.99
7.2.150.0200.00015.04
7.2.140.0100.01015.04
7.2.130.0160.00315.03
7.2.120.0110.00714.98
7.2.110.0070.01715.11
7.2.100.0070.01015.14
7.2.90.0090.01514.86
7.2.80.0100.01314.90
7.2.70.0130.01314.82
7.2.60.0140.01014.93
7.2.50.0160.00715.13
7.2.40.0080.00815.00
7.2.30.0140.00315.04
7.2.20.0040.01215.03
7.2.10.0110.00515.07
7.2.00.0100.01315.01
7.1.320.0090.01013.97
7.1.310.0100.00713.99
7.1.300.0120.00914.07
7.1.290.0210.00014.11
7.1.280.0060.01514.01
7.1.270.0090.00613.98
7.1.260.0030.01313.95
7.1.250.0030.01614.18

preferences:
39.18 ms | 403 KiB | 5 Q