3v4l.org

run code in 300+ PHP versions simultaneously
<?php // example code ini_set('pcre.backtrack_limit', 1); $text = "<p>www.test.com</p>"; $chunks = is_null($text) ? array('') : preg_split('/(<.+?>)/is', $text, -1, PREG_SPLIT_DELIM_CAPTURE); var_dump($chunks);

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.10.0100.01023.80
8.3.140.0140.00416.76
8.3.130.0100.00018.46
8.3.120.0040.01120.71
8.3.110.0040.01116.75
8.3.100.0040.00416.56
8.3.90.0030.00726.77
8.3.80.0100.00316.50
8.3.70.0160.00618.43
8.3.60.0060.00916.75
8.3.50.0000.01618.38
8.3.40.0100.00320.03
8.3.30.0100.01018.63
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0070.01116.92
8.2.250.0040.00416.68
8.2.240.0030.00717.28
8.2.230.0000.00920.94
8.2.220.0090.00037.54
8.2.210.0000.00826.77
8.2.200.0040.00416.88
8.2.190.0180.00016.75
8.2.180.0120.00316.75
8.2.170.0070.01318.90
8.2.160.0140.00322.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0050.00520.32
8.2.100.0060.00318.90
8.1.300.0070.01118.33
8.1.290.0050.00530.84
8.1.280.0070.01425.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00318.82
8.1.230.0070.00318.65
8.1.00.0030.00619.52
7.3.330.0070.00317.62
7.2.340.0020.01117.62
7.1.330.0060.00517.62
7.0.330.0090.00317.62
5.6.400.0050.00517.62
5.3.290.0060.00117.62

preferences:
47.78 ms | 403 KiB | 5 Q