3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '70ac0f2e7247e9a658f71fe6362bf53'; echo preg_replace('#\d\K\d+#', '', $text);

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.0080.01016.79
8.5.00.0110.01121.91
8.4.150.0010.00014.05
8.4.140.0140.00717.54
8.4.130.0150.00520.51
8.4.120.0070.00317.83
8.4.110.0110.01018.03
8.4.100.0070.00617.88
8.4.90.0120.00920.45
8.4.80.0140.00718.99
8.4.70.0140.00518.91
8.4.60.0060.00318.95
8.4.50.0140.00720.49
8.4.40.0060.00317.91
8.4.30.0130.00620.74
8.4.20.0090.01221.46
8.4.10.0030.00619.56
8.3.280.0140.00618.48
8.3.270.0120.00916.43
8.3.260.0120.00616.54
8.3.250.0070.00216.38
8.3.240.0130.00616.63
8.3.230.0050.00516.70
8.3.220.0110.00818.79
8.3.210.0120.00416.85
8.3.200.0050.00316.69
8.3.190.0070.00317.03
8.3.180.0100.00918.75
8.3.170.0150.00418.85
8.3.160.0090.00918.66
8.3.150.0110.00718.95
8.3.140.0040.00416.62
8.3.130.0060.00318.23
8.3.120.0030.00720.68
8.3.110.0030.00620.94
8.3.100.0440.00337.54
8.3.90.0410.00637.54
8.3.80.0460.00437.54
8.3.70.0470.00037.54
8.3.60.0450.00337.54
8.3.50.0480.00337.54
8.3.40.0260.01537.54
8.3.30.0180.01537.54
8.3.20.0350.00437.54
8.3.10.0260.00937.54
8.3.00.0350.00637.54
8.2.290.0110.00716.67
8.2.280.0160.00420.13
8.2.270.0040.01516.79
8.2.260.0000.00818.46
8.2.250.0050.00318.94
8.2.240.0040.00418.93
8.2.230.0080.00422.58
8.2.220.0270.01337.54
8.2.210.0330.00637.54
8.2.200.0160.00937.54
8.2.190.0170.00337.54
8.2.180.0130.00737.54
8.2.170.0260.00037.54
8.2.160.0140.00737.54
8.2.150.0130.00737.54
8.2.140.0360.00737.54
8.2.130.0380.00637.54
8.2.120.0400.00437.54
8.2.110.0350.01037.54
8.2.100.0330.01037.54
8.2.90.0360.00737.54
8.2.80.0350.00837.54
8.2.70.0430.00037.54
8.2.60.0550.00037.54
8.2.50.0280.00337.54
8.2.40.0350.00637.54
8.2.30.0330.01037.54
8.2.20.0290.01037.54
8.2.10.0340.00737.54
8.2.00.0120.00937.54
8.1.330.0140.00516.58
8.1.320.0130.00618.04
8.1.310.0040.00416.41
8.1.300.0190.00016.45
8.1.290.0370.00637.54
8.1.280.0300.01437.54
8.1.270.0260.01437.54
8.1.260.0360.01037.54
8.1.250.0310.00937.54
8.1.240.0240.00937.54
8.1.230.0100.01037.54
8.1.220.0210.00737.54
8.1.210.0320.00937.54
8.1.200.0400.00437.54
8.1.190.0300.01137.54
8.1.180.0300.00737.54
8.1.170.0340.00637.54
8.1.160.0300.00937.54
8.1.150.0300.00937.54
8.1.140.0300.00937.54
8.1.130.0350.00337.54
8.1.120.0240.01537.54
8.1.110.0310.00937.54
8.1.100.0320.00737.54
8.1.90.0270.01237.54
8.1.80.0280.00737.54
8.1.70.0280.00937.54
8.1.60.0410.00837.54
8.1.50.0390.00737.54
8.1.40.0370.00637.54
8.1.30.0320.00937.54
8.1.20.0300.00837.54
8.1.10.0280.01437.54
8.1.00.0230.01537.54

preferences:
37.33 ms | 403 KiB | 5 Q