3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function foo() { echo 'ЕТО ТЫ КАЛ'; } } $foo = new Foo; $array = [$foo, 'foo']; $array();

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.4.120.0130.00720.67
8.4.110.0100.00918.71
8.4.100.0150.00518.71
8.4.90.0070.00217.55
8.4.80.0040.00517.80
8.4.70.0120.00817.81
8.4.60.0100.00218.86
8.4.50.0100.01118.67
8.4.40.0040.00418.73
8.4.30.0050.00318.93
8.4.20.0130.00619.81
8.4.10.0030.01319.46
8.3.250.0100.00818.88
8.3.240.0110.00716.59
8.3.230.0040.00416.56
8.3.220.0050.00220.79
8.3.210.0130.00716.66
8.3.200.0100.00416.41
8.3.190.0110.00716.97
8.3.180.0110.00717.29
8.3.170.0120.00620.52
8.3.160.0150.00317.20
8.3.150.0060.01217.20
8.3.140.0100.01019.06
8.3.130.0030.00618.36
8.3.120.0040.00418.96
8.3.110.0080.00020.94
8.3.100.0080.00016.37
8.3.90.0060.00326.77
8.3.80.0070.00418.18
8.3.70.0000.01516.63
8.3.60.0370.00725.92
8.3.50.0110.00725.92
8.3.40.0260.00325.92
8.3.30.0210.01025.92
8.3.20.0250.01125.92
8.3.10.0260.00425.92
8.3.00.0340.00025.92
8.2.290.0130.00518.73
8.2.280.0090.00818.29
8.2.270.0180.00017.29
8.2.260.0040.00416.87
8.2.250.0110.00416.54
8.2.240.0040.00418.83
8.2.230.0000.00822.58
8.2.220.0050.00524.06
8.2.210.0070.01126.77
8.2.200.0030.00616.63
8.2.190.0130.00718.41
8.2.180.0190.01325.92
8.2.170.0240.01225.92
8.2.160.0240.01425.92
8.2.150.0300.00625.92
8.2.140.0290.01025.92
8.2.130.0290.01125.92
8.2.120.0320.00625.92
8.2.110.0300.00625.92
8.2.100.0280.00925.92
8.2.90.0350.00425.92
8.2.80.0410.00725.92
8.2.70.0290.00425.92
8.2.60.0180.01525.92
8.2.50.0230.01025.92
8.2.40.0290.00725.92
8.2.30.0270.00425.92
8.2.20.0190.01025.92
8.2.10.0200.01225.92
8.2.00.0270.00725.92
8.1.330.0100.00918.29
8.1.320.0100.00916.28
8.1.310.0040.00418.57
8.1.300.0040.01519.46
8.1.290.0040.00430.84
8.1.280.0030.01625.92
8.1.270.0300.00725.92
8.1.260.0230.00825.92
8.1.250.0240.01025.92
8.1.240.0240.00725.92
8.1.230.0200.01025.92
8.1.220.0250.00725.92
8.1.210.0260.00625.92
8.1.200.0260.00725.92
8.1.190.0220.01125.92
8.1.180.0290.01025.92
8.1.170.0280.00325.92
8.1.160.0200.01325.92
8.1.150.0210.01125.92
8.1.140.0230.01225.92
8.1.130.0230.01525.92
8.1.120.0310.00325.92
8.1.110.0250.00625.92
8.1.100.0230.00525.92
8.1.90.0170.01025.92
8.1.80.0260.01025.92
8.1.70.0240.00425.92
8.1.60.0250.00625.92
8.1.50.0230.01025.92
8.1.40.0260.00725.92
8.1.30.0290.00625.92
8.1.20.0300.00925.92
8.1.10.0170.02025.92
8.1.00.0320.00425.92

preferences:
55.61 ms | 403 KiB | 5 Q