3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('/^回复\s+@([^@\s]+)[\s+: | |:]+/', '', '回复 @海超 !');

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.0.0alpha30.0080.01216.71
8.0.0alpha20.0070.01216.62
8.0.0alpha10.0110.00816.62
7.4.80.0060.01116.49
7.4.70.0030.01616.46
7.4.60.0110.00916.56
7.4.50.0090.01016.32
7.4.40.0110.01016.45
7.4.30.0120.00716.53
7.4.20.0110.01116.46
7.4.10.0130.00816.42
7.4.00.0120.00716.37
7.3.200.0070.01116.40
7.3.190.0080.00916.25
7.3.180.0090.00916.44
7.3.170.0080.01216.42
7.3.160.0080.01016.43
7.3.150.0120.00816.36
7.3.140.0120.00816.44
7.3.130.0080.01216.36
7.3.120.0090.00816.55
7.3.110.0080.01016.43
7.3.100.0130.00516.38
7.3.90.0060.01116.42
7.3.80.0120.00916.47
7.3.70.0160.00516.27
7.3.60.0090.00816.37
7.3.50.0070.01316.46
7.3.40.0120.00716.27
7.3.30.0090.01016.49
7.3.20.0060.01316.43
7.3.10.0110.01016.41
7.3.00.0110.00916.34
7.2.320.0100.01016.58
7.2.310.0120.01016.61
7.2.300.0130.00816.54
7.2.290.0100.01116.56
7.2.280.0100.01116.56
7.2.270.0110.01016.41
7.2.260.0140.00816.63
7.2.250.0090.00916.46
7.2.240.0110.01016.59
7.2.230.0070.01216.52
7.2.220.0120.00816.67
7.2.210.0110.00916.61
7.2.200.0100.00916.60
7.2.190.0080.01216.51
7.2.180.0150.00416.55
7.2.170.0090.01016.62
7.2.160.0130.00916.63
7.2.150.0120.00716.65
7.2.140.0140.00816.63
7.2.130.0090.01016.65
7.2.120.0130.01416.58
7.2.110.0080.01216.68
7.2.100.0110.00916.69
7.2.90.0130.00716.60
7.2.80.0080.01116.53
7.2.70.0110.00716.65
7.2.60.0100.01116.47
7.2.50.0110.01116.61
7.2.40.0090.01216.56
7.2.30.0110.00916.70
7.2.20.0080.01316.57
7.2.10.0150.00516.63
7.2.00.0100.00916.58