3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AmazonItemData { public function getCategoryForTaxUs( ) {return 1;} } class _6pmItemData extends AmazonItemData { public function getCategoryForTaxUs( ) {return 0;} } calling $i = new _6pmItemData (); print $i->getCategoryForTaxUs();

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.320.0200.05018.99
5.4.310.0170.05319.06
5.4.300.0170.05319.21
5.4.290.0230.05319.15
5.4.280.0170.07719.16
5.4.270.0330.06319.14
5.4.260.0230.06319.09
5.4.250.0230.06019.24
5.4.240.0230.07018.85
5.4.230.0200.07319.09
5.4.220.0200.07019.21
5.4.210.0170.07018.98
5.4.200.0270.06018.94
5.4.190.0270.04719.00
5.4.180.0200.07019.13
5.4.170.0170.08318.84
5.4.160.0200.05319.11
5.4.150.0270.03319.20
5.4.140.0230.07016.39
5.4.130.0200.04316.36
5.4.120.0270.07016.54
5.4.110.0270.06716.61
5.4.100.0200.07016.50
5.4.90.0300.06016.29
5.4.80.0230.07316.44
5.4.70.0200.05716.49
5.4.60.0300.04716.53
5.4.50.0300.05016.51
5.4.40.0230.06016.34
5.4.30.0170.04316.42
5.4.20.0270.08016.24
5.4.10.0330.05316.53
5.4.00.0200.04715.81
5.3.290.0230.06314.57
5.3.280.0130.05314.84
5.3.270.0170.03714.47
5.3.260.0300.06314.53
5.3.250.0230.07014.68
5.3.240.0300.06014.61
5.3.230.0270.07014.50
5.3.220.0270.07014.54
5.3.210.0170.07014.69
5.3.200.0200.07314.48
5.3.190.0200.04714.62
5.3.180.0330.07014.47
5.3.170.0230.05314.57
5.3.160.0300.05714.52
5.3.150.0370.03714.56
5.3.140.0330.04714.67
5.3.130.0300.07314.46
5.3.120.0300.06014.66
5.3.110.0300.07014.56
5.3.100.0270.07313.96
5.3.90.0170.03713.94
5.3.80.0170.03314.11
5.3.70.0200.05714.07
5.3.60.0070.06714.09
5.3.50.0230.06713.96
5.3.40.0300.06313.89
5.3.30.0200.07313.91
5.3.20.0200.07313.80
5.3.10.0230.03013.57
5.3.00.0130.04013.73
5.2.170.0170.03012.02
5.2.160.0130.03012.02
5.2.150.0230.04012.02
5.2.140.0200.05312.02
5.2.130.0200.06312.02
5.2.120.0200.03312.02
5.2.110.0370.02312.02
5.2.100.0170.06312.02
5.2.90.0130.05312.02
5.2.80.0170.04712.02
5.2.70.0130.05712.02
5.2.60.0230.03712.02
5.2.50.0270.05712.02
5.2.40.0100.04712.02
5.2.30.0170.05012.02
5.2.20.0100.05712.02
5.2.10.0100.04012.02
5.2.00.0200.05312.02
5.1.60.0070.05312.02
5.1.50.0170.05012.02
5.1.40.0130.03312.02
5.1.30.0200.05012.02
5.1.20.0070.05312.02
5.1.10.0100.04712.02
5.1.00.0130.04312.02
5.0.50.0030.02712.02
5.0.40.0070.02712.02
5.0.30.0030.03712.02
5.0.20.0070.01712.02
5.0.10.0030.02312.02
5.0.00.0070.03012.02
4.4.90.0070.02712.02
4.4.80.0070.03312.02
4.4.70.0070.02312.02
4.4.60.0130.01712.02
4.4.50.0070.02312.02
4.4.40.0030.03312.02
4.4.30.0070.02712.02
4.4.20.0070.03012.02
4.4.10.0130.03012.02
4.4.00.0030.03012.02
4.3.110.0030.02012.02
4.3.100.0030.01712.02
4.3.90.0030.01712.02
4.3.80.0130.01712.02
4.3.70.0070.01312.02
4.3.60.0000.02012.02
4.3.50.0000.02312.02
4.3.40.0030.02712.02
4.3.30.0030.01312.02
4.3.20.0030.01312.02
4.3.10.0030.01312.02
4.3.00.0070.01312.02

preferences:
143.12 ms | 1386 KiB | 7 Q