3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '^(/|https?://)?'; var_dump(preg_match('/' . $regex . '/u', ''));

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.30.0110.00819.62
8.5.20.0100.00719.97
8.5.10.0070.00716.82
8.5.00.0120.01122.75
8.4.180.0100.01119.69
8.4.170.0150.00623.98
8.4.160.0110.01122.09
8.4.150.0080.00616.88
8.4.140.0140.00717.57
8.4.130.0130.00720.12
8.4.120.0110.00820.74
8.4.110.0170.00417.73
8.4.100.0440.01017.53
8.4.90.0370.00717.80
8.4.80.0370.00817.70
8.4.70.0290.01117.80
8.4.60.0390.00717.90
8.4.50.0430.00617.68
8.4.40.0260.00817.47
8.4.30.0330.00717.77
8.4.20.0270.00817.53
8.4.10.0220.00217.46
8.3.300.0120.00820.88
8.3.290.0100.01020.75
8.3.280.0150.00518.41
8.3.270.0100.00916.55
8.3.260.0110.00516.67
8.3.250.0120.00617.38
8.3.240.0170.00416.76
8.3.230.0170.00416.58
8.3.220.0330.00716.42
8.3.210.0400.00716.53
8.3.200.0400.00816.57
8.3.190.0400.00816.35
8.3.180.0390.00916.70
8.3.170.0430.00916.73
8.3.160.0410.00716.12
8.3.150.0360.00816.59
8.3.140.0330.00816.69
8.3.130.0240.00516.53
8.3.120.0180.00416.46
8.3.110.0210.00516.69
8.3.100.0300.00716.18
8.3.90.0410.00616.69
8.3.80.0200.00516.91
8.3.70.0250.00816.34
8.3.60.0390.01116.48
8.3.50.0360.01016.43
8.3.40.0400.00917.52
8.3.30.0350.01017.22
8.3.20.0280.00817.28
8.3.10.0270.00817.38
8.3.00.0290.00917.16
8.2.300.0140.00720.45
8.2.290.0300.01016.57
8.2.280.0270.01316.25
8.2.270.0280.00516.32
8.2.260.0220.00616.48
8.2.250.0210.00716.46
8.2.240.0300.00716.28
8.2.230.0370.00516.17
8.2.220.0310.00816.59
8.2.210.0340.00416.68
8.2.200.0320.01016.29
8.2.190.0340.00816.66
8.2.180.0340.00816.71
8.2.170.0360.00417.38
8.2.160.0410.00417.51
8.2.150.0360.01017.45
8.2.140.0360.01017.63
8.2.130.0340.00817.42
8.2.120.0360.00617.68
8.2.110.0370.01317.37
8.2.100.0350.00717.65
8.2.90.0330.01017.68
8.2.80.0390.00717.38
8.2.70.0390.00717.16
8.2.60.0420.01017.44
8.2.50.0220.00717.31
8.2.40.0180.00517.39
8.2.30.0140.00517.27
8.2.20.0240.00417.45
8.2.10.0350.00417.20
8.2.00.0310.00917.64
8.1.340.0130.00621.77

preferences:
45.16 ms | 845 KiB | 5 Q