3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_ereg_replace('\B', '|', 'abc'));

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.1.130.0000.00717.75
8.1.120.0000.00717.50
8.1.110.0000.00717.33
8.1.100.0070.00017.31
8.1.90.0000.00717.49
8.1.80.0000.00717.46
8.1.70.0030.00317.48
8.1.60.0060.00317.63
8.1.50.0080.00017.50
8.1.40.0030.00717.50
8.1.30.0080.00017.66
8.1.20.0060.00317.68
8.1.10.0040.00417.51
8.1.00.0070.00017.42
8.0.260.0000.00617.25
8.0.250.0030.00316.94
8.0.240.0000.00816.97
8.0.230.0070.00016.96
8.0.220.0030.00316.88
8.0.210.0000.00716.88
8.0.200.0030.00316.84
8.0.190.0040.00416.99
8.0.180.0000.00816.97
8.0.170.0000.00716.83
8.0.160.0050.00316.96
8.0.150.0040.00416.94
8.0.140.0060.00316.88
8.0.130.0030.00313.39
8.0.120.0030.00616.93
8.0.110.0080.00016.96
8.0.100.0040.00416.95
8.0.90.0040.00416.89
8.0.80.0090.00617.00
8.0.70.0070.00016.71
8.0.60.0030.00316.69
8.0.50.0000.00816.84
8.0.30.0050.01216.97
8.0.20.0200.01217.40
8.0.10.0000.00716.95
8.0.00.0150.00616.67
7.4.330.0000.00515.08
7.4.320.0000.00616.68
7.4.300.0060.00016.44
7.4.290.0040.00416.55
7.4.280.0030.00316.64
7.4.270.0050.00216.43
7.4.260.0030.00316.62
7.4.250.0000.00716.52
7.4.240.0000.00716.51
7.4.230.0070.00016.56
7.4.220.0090.00916.68
7.4.210.0110.00416.51
7.4.200.0020.00516.39
7.4.160.0120.00616.48
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0060.01116.41
7.4.120.0110.00516.55
7.4.110.0060.01216.58
7.4.100.0160.00616.43
7.4.90.0120.00616.41
7.4.80.0040.01219.39
7.4.70.0120.00416.66
7.4.60.0060.00916.53
7.4.50.0070.00516.35
7.4.40.0100.01016.58
7.4.30.0130.00316.34
7.4.00.0070.00714.79
7.3.330.0030.00313.06
7.3.320.0050.00013.17
7.3.310.0040.00416.41
7.3.300.0070.00016.31
7.3.290.0070.00716.25
7.3.280.0060.01116.27
7.3.270.0140.00317.40
7.3.260.0060.01116.38
7.3.250.0100.00916.34
7.3.240.0070.01016.30
7.3.230.0090.00916.39
7.3.210.0160.00716.45
7.3.200.0000.01716.53
7.3.190.0120.00916.20
7.3.180.0150.00616.33
7.3.170.0070.01616.48
7.3.160.0060.01016.45
7.2.330.0150.00316.44
7.2.320.0100.01116.25
7.2.310.0130.00416.19
7.2.300.0100.00716.67
7.2.290.0130.00316.28
7.2.60.0070.00716.67
7.1.200.0110.00715.41
7.1.70.0040.00816.64
7.1.60.0120.00019.75
7.1.00.0030.07722.54
7.0.200.0360.00314.43
7.0.90.0770.00019.96
7.0.80.0630.00019.89
7.0.70.0770.00019.89
7.0.60.0700.00019.98
7.0.50.0670.00020.20
7.0.40.0870.00020.29
7.0.30.0700.00020.29
7.0.20.1000.00020.34
7.0.10.0830.00020.35
7.0.00.0730.00020.36
5.6.240.0670.00020.74
5.6.230.0700.00020.50
5.6.220.0700.00020.61
5.6.210.0700.00020.66
5.6.200.0700.00021.02
5.6.190.0670.00021.08
5.6.180.0670.00021.00
5.6.170.0730.00021.12
5.6.160.0900.00021.06
5.6.150.0770.00021.18
5.6.140.0670.00021.10
5.6.130.0730.00021.06
5.6.120.0700.00021.07
5.6.110.0730.00021.07
5.6.100.0670.00021.15
5.6.90.0700.00021.04
5.6.80.0900.00020.43
5.6.70.0730.00020.44
5.6.60.0630.00020.43
5.6.50.0630.00020.37
5.6.40.0670.00020.51
5.6.30.0870.00020.42
5.6.20.0630.00020.45
5.6.10.0670.00020.36
5.6.00.0830.00020.40

preferences:
39.41 ms | 406 KiB | 5 Q