3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Token { public function replace($text) { return $text; } } class TokenPlus extends Token { public function repalce($string) { return $text; } } echo((new TokenPlus())->replace('hi mum'));

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.00.0110.01020.02
8.4.150.0030.00014.05
8.4.140.0130.00817.48
8.4.130.0110.01018.06
8.4.120.0080.00720.42
8.4.110.0040.00418.68
8.4.100.0110.00917.52
8.4.90.0120.00720.31
8.4.80.0060.00218.82
8.4.70.0100.00919.08
8.4.60.0110.00920.51
8.4.50.0070.00720.50
8.4.40.0120.00319.20
8.4.30.0100.01020.32
8.4.20.0100.01017.71
8.4.10.0060.00320.27
8.3.280.0110.01018.35
8.3.270.0120.00716.44
8.3.260.0120.01016.66
8.3.250.0090.00918.64
8.3.240.0110.00616.56
8.3.230.0110.00816.34
8.3.220.0030.00418.78
8.3.210.0140.00616.73
8.3.200.0060.00216.48
8.3.190.0110.00918.66
8.3.180.0020.00518.89
8.3.170.0090.00918.96
8.3.160.0180.00018.26
8.3.150.0060.00916.60
8.3.140.0050.00316.53
8.3.130.0030.00618.41
8.3.120.0180.00019.00
8.3.110.0040.00416.13
8.3.100.0090.00324.06
8.3.90.0070.00026.77
8.3.80.0060.00318.40
8.3.70.0160.00018.30
8.3.60.0100.00716.50
8.3.50.0120.00920.19
8.3.40.0070.01019.01
8.3.30.0030.01019.09
8.3.20.0000.00724.18
8.3.10.0030.00524.66
8.3.00.0000.00726.16
8.2.290.0120.00816.55
8.2.280.0050.00518.23
8.2.270.0110.00818.43
8.2.260.0040.00416.49
8.2.250.0030.00616.50
8.2.240.0030.00616.84
8.2.230.0160.00320.94
8.2.220.0120.00037.54
8.2.210.0000.01526.77
8.2.200.0070.00718.41
8.2.190.0140.00016.63
8.2.180.0110.01125.92
8.2.170.0140.00718.77
8.2.160.0040.00922.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0100.01026.16
8.2.120.0000.00819.36
8.2.110.0000.01019.39
8.2.100.0060.00617.72
8.2.90.0040.00417.63
8.2.80.0000.00817.97
8.2.70.0080.00017.38
8.2.60.0080.00017.38
8.2.50.0000.00817.98
8.2.40.0000.00718.16
8.2.30.0050.00218.15
8.2.20.0050.00220.43
8.2.10.0040.00417.95
8.2.00.0030.00619.15
8.1.330.0120.00716.14
8.1.320.0130.00616.19
8.1.310.0080.00817.70
8.1.300.0060.00318.49
8.1.290.0090.00330.84
8.1.280.0100.00325.92
8.1.270.0090.00623.79
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00619.13
8.1.230.0090.00317.64
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.01017.22
8.1.190.0080.00317.10
8.1.180.0060.00318.10
8.1.170.0060.00317.62
8.1.160.0070.00018.75
8.1.150.0080.00018.50
8.1.140.0000.00817.27
8.1.130.0080.00018.63
8.1.120.0080.00017.30
8.1.110.0000.00717.30
8.1.100.0070.00017.22
8.1.90.0030.00517.21
8.1.80.0080.00017.31
8.1.70.0000.00717.34
8.1.60.0070.00017.48
8.1.50.0030.00817.41
8.1.40.0190.00917.45
8.1.30.0190.00617.56
8.1.20.0220.00317.55
8.1.10.0270.00617.43
8.1.00.0200.00617.46
8.0.300.0030.00718.77
8.0.290.0100.00016.75
8.0.280.0000.00818.43
8.0.270.0070.00016.77
8.0.260.0000.00718.34
8.0.250.0030.00316.88
8.0.240.0030.00316.81
8.0.230.0000.00716.77
8.0.220.0000.00716.79
8.0.210.0080.00016.75
8.0.200.0000.00616.85
8.0.190.0000.00816.88
8.0.180.0040.00416.67
8.0.170.0000.00816.79
8.0.160.0110.01116.79
8.0.150.0100.01016.63
8.0.140.0130.00316.58
8.0.130.0080.00916.77
8.0.120.0150.00316.66
8.0.110.0110.00416.54
8.0.100.0090.00316.57
8.0.90.0090.00416.76
8.0.80.0070.00716.72
8.0.70.0110.00816.82
8.0.60.0100.00716.68
8.0.50.0050.01416.64
8.0.30.0080.00916.59
8.0.20.0130.00716.75
8.0.10.0140.00616.71
7.4.330.0030.00315.55
7.4.320.0060.00016.32
7.4.300.0060.00016.42
7.4.290.0050.00316.47
7.4.280.0130.00516.30
7.4.270.0160.00416.38
7.4.260.0150.00516.38
7.4.250.0160.01116.30
7.4.240.0180.00716.40
7.4.230.0100.01116.25
7.4.220.0140.00616.50
7.4.210.0180.00416.49
7.4.200.0160.00416.36
7.4.190.0130.00416.48
7.4.180.0190.00316.48
7.4.160.0130.00916.37
7.4.150.0160.00316.42
7.4.140.0080.00416.39
7.4.130.0090.00616.38
7.4.120.0100.00716.43
7.4.110.0060.00616.32
7.4.100.0160.00416.43
7.4.90.0190.00316.34
7.4.80.0200.00416.45
7.4.70.0170.00416.33
7.4.60.0160.00516.27
7.4.50.0170.00116.08
7.4.40.0090.00516.04
7.4.30.0110.01016.23
7.4.20.0170.00416.28
7.4.10.0040.00816.41
7.4.00.0110.00816.25

preferences:
34.82 ms | 403 KiB | 5 Q