3v4l.org

run code in 300+ PHP versions simultaneously
<?php class someClass { static $property = 'This calls the property'; static function someMethod() { print 'This calls the method'; } } $someFunc = array('someClass', 'someMethod'); someFunc(); ?>

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.3.70.0120.00616.63
8.3.60.0100.00718.43
8.3.50.0030.01016.23
8.3.40.0110.00718.79
8.3.30.0090.00918.58
8.3.20.0000.00821.85
8.3.10.0080.00020.07
8.3.00.0040.00420.64
8.2.190.0070.00716.75
8.2.180.0110.00418.41
8.2.170.0120.00622.96
8.2.160.0150.00321.93
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0070.00026.16
8.2.110.0060.00320.35
8.2.100.0070.00417.88
8.2.90.0040.00419.05
8.2.80.0040.00419.28
8.2.70.0060.00917.00
8.2.60.0030.00617.91
8.2.50.0070.00018.07
8.2.40.0080.00019.66
8.2.30.0040.00417.60
8.2.20.0070.00017.87
8.2.10.0070.00019.32
8.2.00.0050.00319.10
8.1.280.0110.00325.92
8.1.270.0040.00420.59
8.1.260.0040.00426.35
8.1.250.0000.01028.09
8.1.240.0030.00622.54
8.1.230.0080.00420.89
8.1.220.0040.00418.77
8.1.210.0000.00818.83
8.1.200.0060.00317.36
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0080.00020.34
8.1.160.0040.00418.67
8.1.150.0040.00418.78
8.1.140.0030.00522.13
8.1.130.0070.00020.06
8.1.120.0070.00317.39
8.1.110.0040.00417.44
8.1.100.0030.00617.34
8.1.90.0030.00517.28
8.1.80.0030.00417.29
8.1.70.0030.00517.30
8.1.60.0030.00617.48
8.1.50.0050.00317.46
8.1.40.0000.00917.36
8.1.30.0000.00717.61
8.1.20.0090.00317.70
8.1.10.0060.00317.60
8.1.00.0040.00417.39
8.0.300.0070.00019.88
8.0.290.0040.00417.05
8.0.280.0000.00718.36
8.0.270.0030.00417.91
8.0.260.0030.00320.00
8.0.250.0000.00816.91
8.0.240.0070.00016.93
8.0.230.0000.00716.86
8.0.220.0030.00316.88
8.0.210.0070.00016.75
8.0.200.0000.00616.95
8.0.190.0000.00716.92
8.0.180.0090.00316.93
8.0.170.0030.00516.79
8.0.160.0040.00716.77
8.0.150.0030.00316.88
8.0.140.0070.00016.88
8.0.130.0000.00713.36
8.0.120.0000.00716.75
8.0.110.0040.00416.99
8.0.100.0000.00716.95
8.0.90.0060.00316.92
8.0.80.0090.00616.85
8.0.70.0020.00516.88
8.0.60.0040.00416.75
8.0.50.0000.00716.73
8.0.30.0100.00717.19
8.0.20.0060.01316.93
8.0.10.0040.00416.89
8.0.00.0120.00616.61
7.4.330.0020.00215.55
7.4.320.0060.00016.34
7.4.300.0030.00316.59
7.4.290.0080.00016.41
7.4.280.0060.00316.52
7.4.270.0040.00416.50
7.4.260.0050.00013.28
7.4.250.0030.00316.50
7.4.240.0020.00616.53
7.4.230.0070.00016.61
7.4.220.0050.00216.43
7.4.210.0110.00516.49
7.4.200.0040.00416.39
7.4.130.0120.00816.54
7.4.120.0070.01416.61
7.4.110.0130.00416.55
7.4.100.0100.00716.32
7.4.90.0160.00016.71
7.4.80.0150.00319.39
7.4.70.0090.00616.50
7.4.60.0070.01016.50
7.4.50.0040.01116.14
7.4.40.0100.00716.47
7.4.00.0120.00414.82
7.3.330.0070.00016.30
7.3.320.0000.00513.26
7.3.310.0050.00216.14
7.3.300.0030.00316.28
7.3.290.0070.00016.15
7.3.280.0060.01016.27
7.3.260.0100.00716.34
7.3.240.0100.00616.27
7.3.230.0060.01016.29
7.3.210.0040.01316.48
7.3.200.0070.01416.32
7.3.190.0040.01316.21
7.3.180.0030.01316.24
7.3.170.0140.00616.28
7.3.160.0050.01016.29
7.3.120.0090.00614.71
7.3.110.0030.01114.64
7.3.100.0090.00414.81
7.3.90.0100.00314.70
7.3.80.0060.00914.64
7.3.70.0110.00314.26
7.3.60.0120.00014.56
7.3.50.0110.00314.75
7.3.40.0030.01014.49
7.3.30.0000.01314.77
7.3.20.0130.00014.61
7.3.10.0160.00014.68
7.3.00.0130.00314.81
7.2.330.0090.01216.64
7.2.320.0150.00616.49
7.2.310.0170.00316.48
7.2.300.0170.00716.46
7.2.290.0030.01716.58
7.2.250.0030.01015.18
7.2.240.0100.00714.91
7.2.230.0060.01014.77
7.2.220.0080.00514.96
7.2.210.0070.00714.97
7.2.200.0030.01014.73
7.2.190.0110.00314.63
7.2.180.0050.00914.78
7.2.170.0070.00714.55
7.1.330.0070.01413.75
7.1.320.0060.00913.59
7.1.310.0110.00613.91
7.1.300.0090.00313.85
7.1.290.0140.00013.60
7.1.280.0040.00913.74
7.1.270.0090.00413.80
7.1.260.0030.01013.89

preferences:
30.88 ms | 401 KiB | 5 Q