3v4l.org

run code in 300+ PHP versions simultaneously
<?php class someClass { static $property = 'This calls the property'; static function someMethod() { print `\n`.'This calls the method'; } } print someClass::$property; $property = 'someMethod'; print someClass::$property(); ?>

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.60.0030.01318.43
8.3.50.0090.00616.64
8.3.40.0130.00318.69
8.3.30.0110.00418.83
8.3.20.0000.00823.53
8.3.10.0040.00420.16
8.3.00.0080.00020.63
8.2.180.0090.00918.54
8.2.170.0070.00822.96
8.2.160.0090.00622.30
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0080.00019.36
8.2.110.0090.00020.47
8.2.100.0080.00318.09
8.2.90.0060.00317.75
8.2.80.0000.00818.84
8.2.70.0040.00517.63
8.2.60.0040.00417.75
8.2.50.0030.00618.04
8.2.40.0040.00419.66
8.2.30.0000.00817.69
8.2.20.0040.00418.05
8.2.10.0000.00919.36
8.2.00.0040.00419.44
8.1.280.0110.00725.92
8.1.270.0080.00020.71
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0050.00519.13
8.1.230.0070.00420.97
8.1.220.0000.00818.60
8.1.210.0030.00518.77
8.1.200.0030.00617.37
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0030.00517.62
8.1.160.0020.00518.87
8.1.150.0030.00518.99
8.1.140.0040.00422.27
8.1.130.0000.00720.21
8.1.120.0040.00717.36
8.1.110.0040.00417.41
8.1.100.0000.00817.46
8.1.90.0030.00617.48
8.1.80.0000.00817.37
8.1.70.0070.00317.43
8.1.60.0090.00017.64
8.1.50.0040.00417.55
8.1.40.0000.00917.47
8.1.30.0050.00317.65
8.1.20.0100.00017.73
8.1.10.0000.00917.50
8.1.00.0030.00517.56
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0000.00718.63
8.0.270.0030.00517.96
8.0.260.0040.00420.04
8.0.250.0070.00016.90
8.0.240.0000.00716.99
8.0.230.0000.00716.91
8.0.220.0070.00016.94
8.0.210.0040.00416.84
8.0.200.0030.00317.00
8.0.190.0000.00716.94
8.0.180.0000.00716.94
8.0.170.0090.00017.02
8.0.160.0050.00316.93
8.0.150.0000.00716.73
8.0.140.0040.00416.88
8.0.130.0000.00613.43
8.0.120.0040.00416.81
8.0.110.0050.00316.96
8.0.100.0000.00716.80
8.0.90.0030.00616.90
8.0.80.0090.00617.00
8.0.70.0000.00816.82
8.0.60.0030.00516.96
8.0.50.0030.00616.92
8.0.30.0120.00617.32
8.0.20.0120.00617.21
8.0.10.0000.00816.86
8.0.00.0060.01316.79
7.4.330.0000.00515.55
7.4.320.0040.00416.52
7.4.300.0060.00016.41
7.4.290.0040.00416.49
7.4.280.0040.00416.48
7.4.270.0070.00016.61
7.4.260.0000.00513.20
7.4.250.0040.00416.45
7.4.240.0040.00316.44
7.4.230.0040.00416.48
7.4.220.0000.00716.46
7.4.210.0050.01216.45
7.4.200.0030.00416.63
7.4.130.0140.00916.57
7.4.120.0070.01216.54
7.4.110.0140.00916.54
7.4.100.0190.00016.47
7.4.90.0130.00416.49
7.4.80.0170.00719.39
7.4.70.0060.01216.62
7.4.60.0060.01216.41
7.4.50.0090.00916.51
7.4.40.0070.01116.52
7.4.10.0100.01114.95
7.4.00.0100.00814.84
7.3.330.0000.00716.17
7.3.320.0060.00013.23
7.3.310.0040.00416.18
7.3.300.0030.00316.32
7.3.290.0000.00716.23
7.3.280.0090.00716.34
7.3.260.0100.00716.50
7.3.230.0090.00816.30
7.3.210.0120.00616.39
7.3.200.0080.00816.47
7.3.190.0060.01016.30
7.3.180.0100.00816.57
7.3.170.0070.01016.57
7.3.160.0140.00416.66
7.3.130.0040.01614.79
7.3.120.0100.00914.84
7.3.110.0080.01114.66
7.3.100.0080.01014.88
7.3.90.0160.00314.89
7.3.80.0090.00714.74
7.3.70.0070.00914.80
7.3.60.0070.00914.89
7.3.50.0040.01214.73
7.3.40.0120.00814.70
7.3.30.0140.00314.63
7.3.20.0120.00715.68
7.3.10.0060.00815.68
7.3.00.0090.00915.64
7.2.330.0060.01216.35
7.2.320.0060.01216.76
7.2.310.0070.01016.59
7.2.300.0120.01216.48
7.2.290.0160.00816.41
7.2.260.0100.01014.89
7.2.250.0070.01315.05
7.2.240.0090.01014.81
7.2.230.0090.00814.89
7.2.220.0090.01114.82
7.2.210.0050.01014.75
7.2.200.0070.00714.97
7.2.190.0080.00715.03
7.2.180.0070.00914.91
7.2.170.0090.01014.98
7.2.160.0030.01715.11
7.2.150.0060.01316.72
7.2.140.0040.01217.13
7.2.130.0000.01716.96
7.2.120.0080.00316.68
7.2.110.0070.01016.95
7.2.100.0130.00716.64
7.2.90.0030.01416.97
7.2.80.0140.00416.91
7.2.70.0070.01016.94
7.2.60.0120.00016.79
7.2.50.0030.01216.80
7.2.40.0140.00417.05
7.2.30.0060.01216.89
7.2.20.0090.00516.70
7.2.10.0070.00816.97
7.2.00.0070.00717.05
7.1.330.0120.00414.02
7.1.320.0140.00314.04
7.1.310.0000.01613.74
7.1.300.0090.00613.80
7.1.290.0150.01513.68
7.1.280.0040.01913.96
7.1.270.0130.00413.87
7.1.260.0080.01014.02

preferences:
61.43 ms | 400 KiB | 5 Q