3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keywords = preg_split("~(?<!=|^)(?=https?://)~", "http://foo.barhttps://foo.bazhttp://foo.bar?url=http://foo.baz"); print_r($keywords); ?>

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.0110.01118.43
8.3.50.0090.00916.51
8.3.40.0140.00422.05
8.3.30.0130.00318.63
8.3.20.0080.00024.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.180.0000.01516.75
8.2.170.0120.00319.09
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0030.00526.16
8.2.120.0000.00821.06
8.2.110.0030.00620.38
8.2.100.0080.00317.78
8.2.90.0000.00818.16
8.2.80.0000.00918.03
8.2.70.0060.00317.63
8.2.60.0060.00317.63
8.2.50.0200.00019.52
8.2.40.0130.00519.52
8.2.30.0200.00019.52
8.2.20.0120.00519.52
8.2.10.0180.00019.52
8.2.00.0150.00319.52
8.1.280.0090.00625.92
8.1.270.0060.00324.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.08
8.1.230.0110.00022.20
8.1.220.0000.00817.74
8.1.210.0030.00518.91
8.1.200.0090.00017.35
8.1.190.0040.00417.23
8.1.180.0170.00019.52
8.1.170.0130.00419.52
8.1.160.0130.00619.52
8.1.150.0120.00619.52
8.1.140.0210.00319.52
8.1.130.0130.00619.52
8.1.120.0060.01119.52
8.1.110.0170.00019.52
8.1.100.0130.00619.52
8.1.90.0130.00319.52
8.1.80.0170.00019.52
8.1.70.0150.00219.52
8.1.60.0160.00319.52
8.1.50.0130.00519.52
8.1.40.0120.00619.52
8.1.30.0180.00019.52
8.1.20.0060.01219.52
8.1.10.0060.01219.52
8.1.00.0050.01419.52
8.0.300.0070.00020.09
8.0.290.0060.00316.74
8.0.280.0170.00019.52
8.0.270.0130.00419.52
8.0.260.0120.00819.52
8.0.250.0140.00319.52
8.0.240.0080.00819.52
8.0.230.0130.00419.52
8.0.220.0180.00019.52
8.0.210.0200.00019.52
8.0.200.0090.00919.52
8.0.190.0140.00319.52
8.0.180.0140.00519.52
8.0.170.0170.00019.52
8.0.160.0110.00719.52
8.0.150.0130.00719.52
8.0.140.0090.00719.52
8.0.130.0150.00419.52
8.0.120.0100.00719.52
8.0.110.0080.00819.52
8.0.100.0100.00719.52
8.0.90.0110.00619.52
8.0.80.0090.00719.52
8.0.70.0130.00319.52
8.0.60.0120.00419.52
8.0.50.0080.00819.52
8.0.30.0120.00419.52
8.0.20.0100.00719.52
8.0.10.0120.00419.52

preferences:
41.28 ms | 401 KiB | 5 Q