3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this -> surname = "brant" $this -> firstname = "wong" echo $surname; ?>

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)
5.4.310.0200.06318.98
5.4.300.0000.04718.98
5.4.290.0230.07019.24
5.4.280.0030.07718.96
5.4.270.0030.03719.06
5.4.260.0270.04719.08
5.4.250.0230.04719.11
5.4.240.0170.03718.94
5.4.230.0200.05719.24
5.4.220.0230.06019.16
5.4.210.0200.07319.21
5.4.200.0300.06319.11
5.4.190.0130.04318.94
5.4.180.0100.03719.21
5.4.170.0170.03719.19
5.4.160.0170.03718.98
5.4.150.0270.04318.82
5.4.140.0130.04016.48
5.4.130.0270.06316.33
5.4.120.0230.04016.43
5.4.110.0200.04716.54
5.4.100.0230.06716.28
5.4.90.0270.03716.43
5.4.80.0170.04016.18
5.4.70.0170.04016.34
5.4.60.0300.04716.57
5.4.50.0270.03716.17
5.4.40.0200.04316.25
5.4.30.0230.04016.43
5.4.20.0170.06716.21
5.4.10.0300.03016.42
5.4.00.0400.04715.78
5.3.280.0170.03714.69
5.3.270.0230.04714.55
5.3.260.0130.05014.48
5.3.250.0170.03314.55
5.3.240.0200.03314.45
5.3.230.0200.03314.55
5.3.220.0070.04014.41
5.3.210.0070.05014.40
5.3.200.0130.05314.54
5.3.190.0270.06714.61
5.3.180.0170.04314.41
5.3.170.0170.03714.58
5.3.160.0170.03714.58
5.3.150.0200.03314.51
5.3.140.0170.05014.43
5.3.130.0200.04714.41
5.3.120.0170.04714.49
5.3.110.0270.04014.40
5.3.100.0200.04713.94
5.3.90.0230.07013.96
5.3.80.0200.05313.96
5.3.70.0170.03713.81
5.3.60.0200.06713.99
5.3.50.0100.04314.04
5.3.40.0230.03013.93
5.3.30.0230.03013.86
5.3.20.0200.03313.57
5.3.10.0300.04713.56
5.3.00.0170.03713.47
5.2.170.0100.04310.98
5.2.160.0230.03011.19
5.2.150.0170.02711.08
5.2.140.0100.04711.08
5.2.130.0230.03011.13
5.2.120.0100.03311.01
5.2.110.0100.03010.99
5.2.100.0070.03310.96
5.2.90.0170.02310.94
5.2.80.0100.03011.11
5.2.70.0200.03010.96
5.2.60.0530.04011.14
5.2.50.0130.02710.90
5.2.40.0130.03711.02
5.2.30.0130.03710.83
5.2.20.0130.02711.03
5.2.10.0130.02710.72
5.2.00.0100.04010.76
5.1.60.0130.0209.88
5.1.50.0270.03010.12
5.1.40.0100.0309.96
5.1.30.0130.03710.32
5.1.20.0130.02310.32
5.1.10.0130.02310.04
5.1.00.0130.02310.05
5.0.50.0070.0208.43
5.0.40.0100.0178.35
5.0.30.0070.0378.20
5.0.20.0170.0178.17
5.0.10.0070.0238.14
5.0.00.0100.0338.01
4.4.90.0070.0307.21
4.4.80.0030.0277.21
4.4.70.0100.0207.21
4.4.60.0070.0207.21
4.4.50.0070.0377.21
4.4.40.0070.0407.21
4.4.30.0070.0307.21
4.4.20.0070.0207.21
4.4.10.0070.0307.21
4.4.00.0070.0307.21
4.3.110.0070.0237.21
4.3.100.0100.0277.21
4.3.90.0070.0277.21
4.3.80.0000.0407.21
4.3.70.0030.0177.21
4.3.60.0100.0337.21
4.3.50.0030.0307.21
4.3.40.0070.0337.21
4.3.30.0070.0177.21
4.3.20.0030.0407.21
4.3.10.0030.0377.21
4.3.00.0000.0237.21

preferences:
155.53 ms | 1386 KiB | 7 Q