3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'word one of each one fish two fish red fish blue fish car : carpet as java : javascript!!&@$%^& testing, 1, 2 testing go Go GO Stop stop hello\nworld hello\tworld hello world \t\tIntroductory Course '; preg_match_all("/\w+/", $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.60.0040.01118.41
8.3.50.0120.00418.07
8.3.40.0090.00918.98
8.3.30.0090.00618.83
8.3.20.0040.00418.92
8.3.10.0080.00021.90
8.3.00.0040.00421.76
8.2.180.0000.01518.66
8.2.170.0180.00022.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0050.00326.16
8.2.120.0060.00319.83
8.2.110.0100.00020.47
8.2.100.0040.00817.91
8.2.90.0080.00417.73
8.2.80.0000.00818.73
8.2.70.0040.00417.38
8.2.60.0050.00317.90
8.2.50.0050.00318.07
8.2.40.0040.00417.91
8.2.30.0040.00418.07
8.2.20.0030.00618.00
8.2.10.0000.00818.11
8.2.00.0050.00319.41
8.1.280.0060.00925.92
8.1.270.0050.00320.23
8.1.260.0060.01026.35
8.1.250.0060.00328.09
8.1.240.0000.00919.01
8.1.230.0110.00017.70
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0060.00317.25
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0080.00018.62
8.1.160.0000.00718.83
8.1.150.0080.00018.74
8.1.140.0040.00418.84
8.1.130.0000.00721.94
8.1.120.0000.00817.47
8.1.110.0000.00817.48
8.1.100.0000.00817.55
8.1.90.0050.00217.50
8.1.80.0030.00617.43
8.1.70.0030.00617.36
8.1.60.0000.00817.65
8.1.50.0030.00617.56
8.1.40.0050.00317.63
8.1.30.0040.00417.73
8.1.20.0040.00417.76
8.1.10.0000.00817.58
8.1.00.0040.00417.47
8.0.300.0050.00318.77
8.0.290.0060.00316.75
8.0.280.0030.00318.27
8.0.270.0070.00016.89
8.0.260.0020.00518.32
8.0.250.0030.00316.92
8.0.240.0040.00417.05
8.0.230.0090.00017.05
8.0.220.0040.00417.02
8.0.210.0050.00216.95
8.0.200.0030.00317.02
8.0.190.0030.00617.01
8.0.180.0080.00016.96
8.0.170.0030.00616.99
8.0.160.0000.00716.83
8.0.150.0000.01016.91
8.0.140.0040.00416.89
8.0.130.0030.00513.26
8.0.120.0050.00317.02
8.0.110.0000.00717.00
8.0.100.0070.00016.90
8.0.90.0000.00716.92
8.0.80.0100.00716.95
8.0.70.0040.00416.95
8.0.60.0040.00416.95
8.0.50.0000.00916.82
8.0.30.0130.00716.92
8.0.20.0170.00917.40
8.0.10.0030.00516.96
8.0.00.0080.01516.84
7.4.330.0070.00015.55
7.4.320.0030.00316.64
7.4.300.0000.00616.72
7.4.290.0040.00416.72
7.4.280.0050.00316.64
7.4.270.0030.00616.68
7.4.260.0030.00316.48
7.4.250.0030.00616.63
7.4.240.0000.00716.73
7.4.230.0000.00716.68
7.4.220.0030.00616.55
7.4.210.0060.01016.65
7.4.200.0000.00716.54
7.4.160.0080.01116.71
7.4.140.0160.00617.86
7.4.130.0130.01316.47
7.4.120.0100.00916.65
7.4.110.0030.01716.80
7.4.100.0030.01916.46
7.4.90.0120.01216.41
7.4.80.0030.01619.39
7.4.70.0130.00816.62
7.4.60.0070.01116.63
7.4.50.0100.00516.70
7.4.40.0100.00716.54
7.4.00.0040.01114.98
7.3.330.0000.00513.20
7.3.320.0000.00512.99
7.3.310.0070.00016.36
7.3.300.0000.00716.14
7.3.290.0070.00016.23
7.3.280.0060.00916.27
7.3.260.0100.01116.46
7.3.240.0100.01016.29
7.3.230.0100.00716.60
7.3.210.0090.00916.40
7.3.200.0120.00916.54
7.3.190.0030.01416.30
7.3.180.0130.00316.35
7.3.170.0140.00316.54
7.3.160.0040.01216.19
7.3.10.0090.00416.52
7.3.00.0000.01316.76
7.2.330.0090.00916.72
7.2.320.0110.00716.56
7.2.310.0090.01516.59
7.2.300.0120.00616.35
7.2.290.0050.01716.57
7.2.130.0060.00616.98
7.2.120.0100.00716.68
7.2.110.0030.01016.93
7.2.100.0370.00215.77
7.2.90.0220.00815.85
7.2.80.0340.00915.81
7.2.70.0250.00716.03
7.2.60.0290.00315.69
7.2.50.0310.00715.78
7.2.40.0280.00815.95
7.2.30.0300.00615.66
7.2.20.0310.00115.93
7.2.10.0300.01015.81
7.2.00.0290.01016.09
7.1.250.0050.00515.90
7.1.220.0480.00414.06
7.1.210.0380.00713.80
7.1.200.0330.01214.14
7.1.190.0490.01513.87
7.1.180.0390.01113.80
7.1.170.0560.00913.89
7.1.160.0540.00613.95
7.1.150.0570.00414.08
7.1.140.0710.00313.78
7.1.130.0550.00714.02
7.1.120.0690.01313.95
7.1.110.0450.00314.18
7.1.100.0550.00713.97
7.1.90.0350.00613.79
7.1.80.0430.00413.43
7.1.70.0500.00913.82
7.1.60.0470.01331.98
7.1.50.0500.01031.65
7.1.40.0350.01732.05
7.1.30.0570.01532.18
7.1.20.0630.00732.11
7.1.10.0380.01014.06
7.1.00.0260.01113.79
5.6.380.0070.01313.91

preferences:
75.1 ms | 400 KiB | 5 Q