3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'ASH CH AKHALSHDJOA'; ĂȘcho mb_ereg_replace('[^^]A', '', $str);

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)
7.1.70.0090.01117.10
7.1.60.0330.01235.09
7.1.50.0290.01334.86
7.1.40.0280.01834.35
7.1.30.1000.01634.11
7.1.20.0340.01534.40
7.1.10.0070.01016.11
7.1.00.0810.01714.52
7.0.200.0090.01316.76
7.0.190.0120.00816.62
7.0.180.0100.01016.02
7.0.170.1040.01316.20
7.0.160.0150.00516.30
7.0.150.0060.01315.96
7.0.140.0680.01014.44
7.0.130.0050.01716.58
7.0.120.1320.01316.25
7.0.110.0680.01216.14
7.0.100.0030.01716.05
7.0.90.0750.01716.32
7.0.80.0590.01214.42
7.0.70.0440.01014.25
7.0.60.0730.01014.06
7.0.50.0650.01014.43
7.0.40.0720.01214.67
7.0.30.0600.01014.30
7.0.20.0630.00814.36
7.0.10.0420.01014.23
7.0.00.0570.00616.34

preferences:
138.88 ms | 1394 KiB | 7 Q