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.5.10.0100.00720.11
8.5.00.0140.00819.97
8.4.150.0020.00014.05
8.4.140.0140.00717.90
8.4.130.0060.00517.90
8.4.120.0010.00722.39
8.4.110.0080.00322.59
8.4.100.0040.00517.70
8.4.90.0110.00918.48
8.4.80.0070.00317.82
8.4.70.0110.00618.13
8.4.60.0120.00818.88
8.4.50.0090.00318.77
8.4.40.0050.00517.77
8.4.30.0160.00320.70
8.4.20.0050.00326.02
8.4.10.0100.01023.80
8.3.280.0120.00818.56
8.3.270.0130.00716.62
8.3.260.0100.01016.27
8.3.250.0110.00718.79
8.3.240.0030.00518.73
8.3.230.0120.00816.54
8.3.220.0140.00517.05
8.3.210.0070.01116.68
8.3.200.0050.00416.91
8.3.190.0060.00417.12
8.3.180.0100.01018.44
8.3.170.0100.00018.82
8.3.160.0000.01816.72
8.3.150.0180.00017.19
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.290.0090.00920.27
8.2.280.0080.00718.49
8.2.270.0100.01017.39
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.330.0100.01121.97
8.1.320.0090.01016.56
8.1.310.0110.00416.72
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:
95.63 ms | 403 KiB | 5 Q