3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "This is my test case for an example."; preg_match_all( "/(?=(\b\w+ \w+))/", $string, $m ); var_export($m[1]);

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.4.130.0070.00319.87
8.4.120.0100.00820.88
8.4.110.0100.01018.88
8.4.100.0140.00717.80
8.4.90.0100.00920.41
8.4.80.0130.00818.82
8.4.70.0060.00218.98
8.4.60.0110.01018.55
8.4.50.0150.00518.54
8.4.40.0100.01020.51
8.4.30.0110.00423.84
8.4.20.0030.01619.69
8.4.10.0070.00321.95
8.3.260.0100.00816.53
8.3.250.0050.00518.75
8.3.240.0110.00716.61
8.3.230.0130.00716.68
8.3.220.0060.00218.94
8.3.210.0110.00616.89
8.3.200.0060.00316.88
8.3.190.0040.00416.97
8.3.180.0100.00916.63
8.3.170.0070.01118.92
8.3.160.0110.00717.10
8.3.150.0110.00717.24
8.3.140.0030.00616.45
8.3.130.0100.00618.77
8.3.120.0090.00018.98
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0030.00526.77
8.3.80.0040.00418.56
8.3.70.0110.01116.63
8.3.60.0070.00716.60
8.3.50.0110.00716.69
8.3.40.0220.00023.79
8.3.30.0040.01518.82
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0110.00916.76
8.2.280.0080.00720.61
8.2.270.0090.00917.12
8.2.260.0080.00018.88
8.2.250.0090.00616.75
8.2.240.0060.00317.42
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0030.00617.00
8.2.190.0040.01116.58
8.2.180.0000.01516.88
8.2.170.0070.00719.04
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.94
8.2.110.0000.01022.29
8.2.100.0080.00420.01
8.2.90.0040.00417.75
8.2.80.0040.00418.90
8.2.70.0080.00017.63
8.2.60.0000.00917.88
8.2.50.0150.00417.62
8.2.40.0080.01117.63
8.2.30.0160.00317.50
8.2.20.0100.00717.50
8.2.10.0160.00417.37
8.2.00.0160.00317.38
8.1.330.0090.01016.11
8.1.320.0120.00916.27
8.1.310.0120.00616.67
8.1.300.0100.00318.69
8.1.290.0060.00330.84
8.1.280.0130.01025.92
8.1.270.0090.00024.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00923.82
8.1.230.0040.00819.04
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00417.35
8.1.190.0170.00017.13
8.1.180.0170.00016.88
8.1.170.0080.00817.38
8.1.160.0070.01017.38
8.1.150.0050.01517.13
8.1.140.0120.00517.25
8.1.130.0110.00517.25
8.1.120.0120.00417.38
8.1.110.0080.00817.50
8.1.100.0190.00517.09
8.1.90.0190.00317.13
8.1.80.0160.00616.86
8.1.70.0030.00617.34
8.1.60.0190.00017.38
8.1.50.0140.00517.50
8.1.40.0180.00017.50
8.1.30.0120.00617.50
8.1.20.0140.00517.50
8.1.10.0140.00517.50
8.1.00.0120.00617.25
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0090.00916.75
8.0.270.0120.00616.71
8.0.260.0170.00016.61
8.0.250.0170.00016.59
8.0.240.0170.00016.63
8.0.230.0170.00016.88
8.0.220.0190.00016.52
8.0.210.0130.00416.63
8.0.200.0150.00316.86
8.0.190.0130.00416.63
8.0.180.0090.00916.75
8.0.170.0140.00316.88
8.0.160.0130.00716.52
8.0.150.0100.01016.52
8.0.140.0180.00016.52
8.0.130.0170.00216.63
8.0.120.0040.01316.60
8.0.110.0100.00716.52
8.0.100.0160.00016.75
8.0.90.0000.01616.63
8.0.80.0090.00916.75
8.0.70.0170.00016.71
8.0.60.0160.00016.63
8.0.50.0060.01016.84
8.0.30.0130.00316.75
8.0.20.0090.00616.74
8.0.10.0130.00316.88

preferences:
27.83 ms | 403 KiB | 5 Q