3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace('#\\\(?:.*)#', '', 'abc', 1); preg_replace('#\\(?:.*)#', '', 'abc', 1);

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.120.0120.00820.66
8.4.110.0060.00322.33
8.4.100.0090.01217.83
8.4.90.0110.00918.46
8.4.80.0150.00517.93
8.4.70.0130.00317.80
8.4.60.0080.00420.14
8.4.50.0090.01117.67
8.4.40.0070.01417.65
8.4.30.0150.00320.37
8.4.20.0130.00720.00
8.4.10.0100.01019.63
8.3.250.0110.00718.79
8.3.240.0140.00716.55
8.3.230.0120.00716.57
8.3.220.0120.00617.17
8.3.210.0120.00616.62
8.3.200.0050.00416.77
8.3.190.0100.01018.86
8.3.180.0150.00518.58
8.3.170.0110.00717.18
8.3.160.0080.00616.89
8.3.150.0090.00916.69
8.3.140.0120.00318.61
8.3.130.0040.00418.65
8.3.120.0030.01316.91
8.3.110.0080.00016.75
8.3.100.0470.00337.54
8.3.90.0370.00637.54
8.3.80.0330.00337.54
8.3.70.0210.00637.54
8.3.60.0210.00437.54
8.3.50.0230.00337.54
8.3.40.0210.00037.54
8.3.30.0190.00437.54
8.3.20.0210.00037.54
8.3.10.0210.00037.54
8.3.00.0210.00337.54
8.2.290.0100.00820.26
8.2.280.0110.00718.74
8.2.270.0140.00017.11
8.2.260.0040.00416.68
8.2.250.0080.00016.68
8.2.240.0000.00717.19
8.2.230.0090.00020.94
8.2.220.0090.00937.54
8.2.210.0130.01037.54
8.2.200.0140.01037.54
8.2.190.0190.00337.54
8.2.180.0200.00337.54
8.2.170.0150.00837.54
8.2.160.0230.00037.54
8.2.150.0230.00037.54
8.2.140.0220.00437.54
8.2.130.0250.00037.54
8.2.120.0210.00437.54
8.2.110.0160.01037.54
8.2.100.0130.01037.54
8.2.90.0210.00337.54
8.2.80.0170.00737.54
8.2.70.0180.00737.54
8.2.60.0200.00337.54
8.2.50.0220.00037.54
8.2.40.0140.00737.54
8.2.30.0210.00337.54
8.2.20.0220.00037.54
8.2.10.0130.00837.54
8.2.00.0130.00737.54
8.1.330.0120.00618.24
8.1.320.0090.01116.04
8.1.310.0000.00816.09
8.1.300.0060.00318.35
8.1.290.0180.00437.54
8.1.280.0190.00337.54
8.1.270.0240.00037.54
8.1.260.0110.01137.54
8.1.250.0160.00637.54
8.1.240.0140.00537.54
8.1.230.0130.00437.54
8.1.220.0130.00537.54
8.1.210.0140.00437.54
8.1.200.0170.00737.54
8.1.190.0300.00337.54
8.1.180.0300.00437.54
8.1.170.0230.00837.54
8.1.160.0300.00937.54
8.1.150.0410.00337.54
8.1.140.0210.02137.54
8.1.130.0200.01037.54
8.1.120.0180.00637.54
8.1.110.0210.00437.54
8.1.100.0220.00037.54
8.1.90.0150.00237.54
8.1.80.0110.00637.54
8.1.70.0150.00937.54
8.1.60.0370.00737.54
8.1.50.0390.00437.54
8.1.40.0290.01537.54
8.1.30.0340.01037.54
8.1.20.0370.00637.54
8.1.10.0500.00037.54
8.1.00.0350.00937.54

preferences:
27.26 ms | 403 KiB | 5 Q