3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Bar { } class Foo implements Bar { } var_dump('Foo' instanceof 'Bar');

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.270.0060.04815.68
5.4.260.0060.05115.56
5.4.250.0090.04615.67
5.4.240.0100.04615.57
5.4.230.0100.04915.67
5.4.220.0090.04815.67
5.4.210.0120.05315.61
5.4.200.0060.05915.65
5.4.190.0060.04715.68
5.4.180.0090.04315.67
5.4.170.0080.04715.68
5.4.160.0060.05115.59
5.4.150.0100.05215.63
5.4.140.0170.04614.27
5.4.130.0040.05214.33
5.4.120.0100.04314.21
5.4.110.0060.04414.22
5.4.100.0070.04314.27
5.4.90.0120.04414.23
5.4.80.0150.04114.26
5.4.70.0100.05314.22
5.4.60.0040.04514.14
5.4.50.0060.04214.31
5.4.40.0040.04714.29
5.4.30.0090.04714.21
5.4.20.0070.04714.25
5.4.10.0220.05214.22
5.4.00.0130.05313.75
5.3.280.0090.05813.76
5.3.270.0070.06813.70
5.3.260.0110.05413.70
5.3.250.0080.05513.67
5.3.240.0060.04513.65
5.3.230.0070.04713.69
5.3.220.0110.05213.61
5.3.210.0120.05313.70
5.3.200.0060.05913.66
5.3.190.0060.04813.70
5.3.180.0090.04813.65
5.3.170.0080.05013.66
5.3.160.0070.05513.53
5.3.150.0110.04313.61
5.3.140.0110.04313.60
5.3.130.0070.05613.55
5.3.120.0100.04313.65
5.3.110.0110.05513.64
5.3.100.0070.05213.12
5.3.90.0050.04613.13
5.3.80.0100.04213.05
5.3.70.0060.04513.08
5.3.60.0050.05012.98
5.3.50.0060.05213.00
5.3.40.0080.05512.89
5.3.30.0070.04712.84
5.3.20.0050.04412.74
5.3.10.0110.04612.70
5.3.00.0090.05012.64
5.2.170.0080.03410.14
5.2.160.0080.04210.26
5.2.150.0080.04410.20
5.2.140.0050.03710.15
5.2.130.0050.04110.19
5.2.120.0030.03510.11
5.2.110.0040.03810.20
5.2.100.0090.03610.06
5.2.90.0050.03510.06
5.2.80.0050.04110.19
5.2.70.0030.04010.14
5.2.60.0060.03610.05
5.2.50.0110.0319.98
5.2.40.0060.0379.96
5.2.30.0030.03810.03
5.2.20.0040.0419.95
5.2.10.0060.0339.83
5.2.00.0060.0429.73
5.1.60.0020.0349.06
5.1.50.0080.0269.06
5.1.40.0090.0339.12
5.1.30.0060.0309.39
5.1.20.0020.0459.47
5.1.10.0020.0399.06
5.1.00.0080.0359.09
5.0.50.0010.0287.57
5.0.40.0050.0267.47
5.0.30.0030.0447.29
5.0.20.0080.0227.13
5.0.10.0070.0187.17
5.0.00.0040.0417.21
4.4.90.0050.0205.74
4.4.80.0030.0215.73
4.4.70.0080.0175.73
4.4.60.0010.0255.73
4.4.50.0020.0205.74
4.4.40.0010.0335.71
4.4.30.0050.0175.73
4.4.20.0050.0195.77
4.4.10.0030.0215.78
4.4.00.0020.0325.73
4.3.110.0030.0255.69
4.3.100.0010.0205.69
4.3.90.0030.0195.67
4.3.80.0040.0295.65
4.3.70.0050.0155.67
4.3.60.0030.0195.67
4.3.50.0020.0245.67
4.3.40.0030.0325.62
4.3.30.0030.0204.99
4.3.20.0050.0184.98
4.3.10.0030.0184.96
4.3.00.0000.0236.79

preferences:
142.37 ms | 1394 KiB | 7 Q