3v4l.org

run code in 200+ PHP versions simultaneously
<?php interface DogFeeder { function feed(Dog $dog); } function feedChihuahua(DogFeeder $feeder) { $feeder->feed(new Chihuahua()); // this code is OK } class BulldogFeeder implements DogFeeder { function feed(Bulldog $dog) { } } feedChihuahua(new BulldogFeeder()); //

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)
7.4.00.0040.01114.97
7.3.120.0080.00815.02
7.3.110.0100.00714.66
7.3.100.0110.00314.94
7.3.90.0050.00814.93
7.3.80.0120.00414.66
7.3.70.0070.00714.50
7.3.60.0030.01214.59
7.3.50.0200.00014.73
7.3.40.0070.00714.58
7.3.30.0170.00014.79
7.3.20.0280.00314.56
7.3.10.0060.00916.66
7.3.00.0080.00816.46
7.2.250.0090.00614.79
7.2.240.0100.00515.06
7.2.230.0130.00314.95
7.2.220.0100.01014.77
7.2.210.0070.01015.10
7.2.200.0100.00514.73
7.2.190.0080.00815.00
7.2.180.0000.01614.51
7.2.170.0060.00814.70
7.1.330.0110.01115.38
7.1.320.0120.00615.34
7.1.310.0140.00415.52
7.1.300.0150.00315.47
7.1.290.0100.00715.74
7.1.280.0070.00715.49
7.1.270.0070.01315.63
7.1.260.0090.00615.36