3v4l.org

run code in 500+ PHP versions simultaneously
<?php class MyClass { public static function __callStatic($method, $args) { echo $method . "\n"; } } MyClass::privateMethod(); MyClass::protectedMethod(); MyClass::publicMethod();

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.5.60.0060.00116.86
8.5.50.0080.01018.27
8.5.30.0090.01019.45
8.5.20.0090.00821.98
8.5.10.0070.00116.55
8.5.00.0050.00519.70
8.4.180.0120.01025.52
8.4.170.0120.00821.82
8.4.160.0100.01223.98
8.4.150.0070.00516.84
8.4.140.0120.01017.34
8.4.130.0110.01017.91
8.4.120.0100.00920.47
8.4.110.0040.00617.71
8.4.100.0140.00717.40
8.4.90.0130.00720.72
8.4.80.0100.00919.16
8.4.70.0140.00520.70
8.4.60.0080.00320.80
8.4.50.0070.00918.80
8.4.40.0130.00718.63
8.4.30.0090.00618.66
8.4.20.0130.00719.45
8.4.10.0110.00719.55
8.3.300.0130.00620.52
8.3.290.0090.01420.79
8.3.280.0110.00818.23
8.3.270.0130.00616.43
8.3.260.0110.00816.27
8.3.250.0090.01019.01
8.3.240.0100.01016.66
8.3.230.0060.00316.40
8.3.220.0060.00218.73
8.3.210.0100.00816.32
8.3.200.0030.00616.31
8.3.190.0080.01117.18
8.3.180.0100.00818.72
8.3.170.0000.01918.83
8.3.160.0060.01016.44
8.3.150.0100.01016.57
8.3.140.0060.00316.83
8.3.130.0000.01418.30
8.3.120.0080.00318.66
8.3.110.0060.00316.74
8.3.100.0030.00618.30
8.3.90.0130.00626.77
8.3.80.0060.00317.97
8.3.70.0090.00616.38
8.3.60.0070.01416.59
8.3.50.0140.00716.45
8.3.40.0060.01519.54
8.3.30.0040.01818.79
8.3.20.0070.00721.72
8.3.10.0110.00321.83
8.3.00.0060.00918.97
8.2.300.0080.01118.48
8.2.290.0120.00816.63
8.2.280.0110.00818.17
8.2.270.0070.01116.65
8.2.260.0060.00317.04
8.2.250.0000.00818.99
8.2.240.0040.00417.21
8.2.230.0150.00020.94
8.2.220.0040.00737.54
8.2.210.0000.00826.77
8.2.200.0090.00016.50
8.2.190.0070.01116.58
8.2.180.0110.00716.50
8.2.170.0070.00718.87
8.2.160.0090.01220.10
8.2.150.0040.01818.75
8.2.140.0160.00620.29
8.2.130.0140.00420.35
8.2.120.0150.00318.98
8.2.110.0070.01019.10
8.2.100.0110.00719.14
8.2.90.0090.00918.69
8.2.80.0140.00319.10
8.2.70.0070.01118.51
8.2.60.0140.00718.73
8.2.50.0100.01019.13
8.2.40.0070.01418.73
8.2.30.0100.01318.53
8.2.20.0030.01518.71
8.2.10.0130.00918.41
8.2.00.0110.01118.48
8.1.340.0040.00421.52
8.1.330.0040.00515.95
8.1.320.0120.00815.81
8.1.310.0140.00016.60
8.1.300.0040.00415.87
8.1.290.0060.00330.84
8.1.280.0220.00325.92
8.1.270.0140.00322.07
8.1.260.0100.01021.99
8.1.250.0100.00722.24
8.1.240.0150.00618.57
8.1.230.0070.01418.57
8.1.220.0210.00018.59
8.1.210.0180.00418.61
8.1.200.0030.01518.62
8.1.190.0070.01118.50
8.1.180.0160.00318.29
8.1.170.0110.00718.38
8.1.160.0070.01118.36
8.1.150.0100.00718.73
8.1.140.0110.00818.57
8.1.130.0110.01118.70
8.1.120.0100.01018.55
8.1.110.0140.00418.22
8.1.100.0090.00919.74
8.1.90.0150.00418.18
8.1.80.0090.00919.45
8.1.70.0070.01118.75
8.1.60.0140.00418.63
8.1.50.0060.01318.54
8.1.40.0040.01418.71
8.1.30.0120.00618.77
8.1.20.0140.00420.05
8.1.10.0120.00618.50
8.1.00.0150.00718.36

preferences:
44.66 ms | 985 KiB | 5 Q