3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_ereg_replace('(%)', '\\\1', 'a%c'));

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.100.0040.00417.41
8.1.90.0040.00417.38
8.1.80.0000.00817.34
8.1.70.0030.00617.49
8.1.60.0000.00917.66
8.1.50.0060.00317.53
8.1.40.0030.00517.55
8.1.30.0000.00917.66
8.1.20.0060.00317.62
8.1.10.0050.00217.53
8.1.00.0000.00817.48
8.0.230.0070.00316.84
8.0.220.0080.00016.79
8.0.210.0050.00216.91
8.0.200.0030.00316.95
8.0.190.0040.00416.99
8.0.180.0060.00316.99
8.0.170.0060.00316.80
8.0.160.0030.00516.93
8.0.150.0050.00216.94
8.0.140.0000.00716.74
8.0.130.0030.00313.32
8.0.120.0060.00316.90
8.0.110.0040.00416.81
8.0.100.0040.00416.96
8.0.90.0050.00317.02
8.0.80.0030.01516.88
8.0.70.0000.00716.69
8.0.60.0000.00816.83
8.0.50.0000.00716.84
8.0.30.0090.00917.05
8.0.20.0110.01417.40
8.0.10.0080.00016.82
8.0.00.0070.01016.71
7.4.300.0040.00416.61
7.4.290.0030.00316.51
7.4.280.0000.00716.39
7.4.270.0030.00316.61
7.4.260.0000.00716.52
7.4.250.0030.00316.43
7.4.240.0040.00416.63
7.4.230.0070.00016.48
7.4.220.0030.00516.57
7.4.210.0120.00516.52
7.4.200.0030.00316.35
7.4.160.0060.01116.45
7.4.140.0100.00917.86
7.4.130.0080.01216.38
7.4.120.0090.01216.46
7.4.110.0100.01116.49
7.4.100.0130.00716.43
7.4.90.0090.01316.33
7.4.80.0110.00817.92
7.4.70.0080.01016.38
7.4.60.0120.00916.44
7.4.50.0050.01516.35
7.4.40.0110.00916.55
7.4.30.0150.00416.42
7.4.20.0120.00916.21
7.4.10.0100.01016.45
7.4.00.0040.01215.60
7.3.330.0040.00413.13
7.3.320.0060.00013.05
7.3.310.0040.00416.03
7.3.300.0030.00316.16
7.3.290.0000.00716.20
7.3.280.0110.00616.21
7.3.260.0110.00716.41
7.3.250.0050.01416.16
7.3.240.0070.01016.21
7.3.230.0100.01016.43
7.3.220.0140.00616.14
7.3.210.0070.01216.35
7.3.200.0090.01016.18
7.3.190.0050.01316.40
7.3.180.0090.01016.18
7.3.170.0100.01116.22
7.3.160.0070.01216.31
7.3.150.0100.01016.14
7.3.140.0170.00916.28
7.3.130.0100.01016.34
7.3.120.0090.01115.51
7.3.110.0100.00715.39
7.3.100.0060.01015.63
7.3.90.0140.00515.46
7.3.80.0120.00515.54
7.3.70.0080.00615.50
7.3.60.0090.00615.40
7.3.50.0100.00715.42
7.3.40.0080.01015.29
7.3.30.0060.01115.40
7.3.20.0090.00616.32
7.3.10.0170.00816.00
7.3.00.0220.00915.67
7.2.340.0120.00416.40
7.2.330.0100.00816.22
7.2.320.0090.01016.39
7.2.310.0120.00916.42
7.2.300.0100.00716.30
7.2.290.0110.00616.35
7.2.280.0100.00716.39
7.2.270.0070.01316.50
7.2.260.0070.01016.52
7.2.250.0090.00916.29
7.2.240.0080.00815.49
7.2.230.0060.01315.61
7.2.220.0100.00715.40
7.2.210.0090.00815.53
7.2.200.0080.01015.63
7.2.190.0090.00915.47
7.2.180.0080.00915.55
7.2.170.0060.00915.52
7.2.160.0090.00515.72
7.2.150.0090.00916.50
7.2.140.0070.00916.61
7.2.130.0220.00515.88
7.2.120.0240.00515.85
7.2.110.0220.00815.83
7.2.100.0230.00815.75
7.2.90.0190.00715.80
7.2.80.0190.00615.87
7.2.70.0330.01015.76
7.2.60.0190.00815.87
7.2.50.0180.00815.95
7.2.40.0210.00815.81
7.2.30.0210.00515.91
7.2.20.0220.00715.93
7.2.10.0200.00915.85
7.2.00.0220.00515.82
7.1.330.0100.00615.63
7.1.320.0080.00715.56
7.1.310.0080.00715.62
7.1.300.0070.00815.47
7.1.290.0110.00215.73
7.1.280.0080.00715.52
7.1.270.0050.01215.48
7.1.260.0100.00515.56
7.1.250.0170.00714.77
7.1.240.0120.00315.45
7.1.230.0060.01015.39
7.1.220.0060.00915.40
7.1.210.0100.00715.28
7.1.200.0110.00815.47
7.1.190.0080.00815.46
7.1.180.0000.01815.41
7.1.170.0060.00915.41
7.1.160.0080.01215.46
7.1.150.0070.01315.38
7.1.140.0110.00615.34
7.1.130.0060.01015.43
7.1.120.0120.00415.38
7.1.110.0100.00715.41
7.1.100.0140.00715.34
7.1.90.0120.00815.33
7.1.80.0100.01015.36
7.1.70.0040.01215.43
7.1.60.0120.00415.31
7.1.50.0080.00815.51
7.1.40.0120.00315.21
7.1.30.0040.01115.46
7.1.20.0100.00615.41
7.1.10.0120.00315.59
7.1.00.0050.01015.32
7.0.330.0080.00815.02
7.0.320.0040.01215.04
7.0.310.0090.01415.12
7.0.300.0230.00314.97
7.0.290.0040.01214.91
7.0.280.0180.00315.19
7.0.270.0070.00714.93
7.0.260.0120.00314.95
7.0.250.0090.01114.98
7.0.240.0120.00615.04
7.0.230.0090.00915.18
7.0.220.0190.00315.14
7.0.210.0130.00315.15
7.0.200.0080.00815.03
7.0.190.0100.00514.95
7.0.180.0060.00815.13
7.0.170.0090.00615.04
7.0.160.0120.00315.20
7.0.150.0090.00615.11
7.0.140.0040.01115.11
7.0.130.0110.00315.07
7.0.120.0030.01015.35
7.0.110.0070.00715.11
7.0.100.0030.01015.06
7.0.90.0070.00715.11
7.0.80.0190.00614.86
7.0.70.0140.00714.91
7.0.60.0130.01015.18
7.0.50.0160.00815.01
7.0.40.0120.00315.02
7.0.30.0080.00815.09
7.0.20.0120.00314.79
7.0.10.0150.00715.09
7.0.00.0090.00615.03

preferences:
56.48 ms | 406 KiB | 5 Q