3v4l.org

run code in 300+ PHP versions simultaneously
<?php class OzanKlasse { public $someField = 'asd'; static function someFunction() { $self = new Self(); echo $self->someField; } } OzanKlasse::someFunction();

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.0120.00618.55
8.3.50.0070.00716.66
8.3.40.0080.00818.54
8.3.30.0120.00318.72
8.3.20.0050.00320.76
8.3.10.0040.00421.86
8.3.00.0040.00418.71
8.2.180.0070.00718.16
8.2.170.0070.00722.96
8.2.160.0070.00720.53
8.2.150.0100.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.00320.31
8.2.100.0000.01217.66
8.2.90.0050.00317.63
8.2.80.0080.00018.55
8.2.70.0040.00417.50
8.2.60.0040.00417.50
8.2.50.0040.00418.05
8.2.40.0000.00818.09
8.2.30.0070.00019.42
8.2.20.0000.00718.04
8.2.10.0000.00719.22
8.2.00.0040.00419.22
8.1.280.0110.01125.92
8.1.270.0040.00420.68
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0120.00021.00
8.1.220.0000.00818.41
8.1.210.0040.00418.77
8.1.200.0000.00817.41
8.1.190.0080.00016.87
8.1.180.0110.00018.10
8.1.170.0030.00517.62
8.1.160.0040.00418.94
8.1.150.0040.00418.81
8.1.140.0060.00318.80
8.1.130.0000.00820.26
8.1.120.0030.00317.40
8.1.110.0070.00017.27
8.1.100.0030.00617.39
8.1.90.0070.00017.43
8.1.80.0040.00417.28
8.1.70.0000.00817.41
8.1.60.0040.00417.58
8.1.50.0040.00417.50
8.1.40.0060.00617.56
8.1.30.0030.00617.68
8.1.20.0030.00617.55
8.1.10.0080.00017.60
8.1.00.0080.00017.53
8.0.300.0000.00718.77
8.0.290.0070.00316.75
8.0.280.0000.00718.62
8.0.270.0000.00717.88
8.0.260.0000.00619.98
8.0.250.0000.01016.86
8.0.240.0030.00316.99
8.0.230.0040.00416.80
8.0.220.0040.00416.79
8.0.210.0000.00716.78
8.0.200.0030.00316.79
8.0.190.0080.00016.86
8.0.180.0000.00816.80
8.0.170.0030.00616.79
8.0.160.0000.00716.81
8.0.150.0040.00416.75
8.0.140.0070.00316.73
8.0.130.0000.00513.21
8.0.120.0050.00216.81
8.0.110.0000.00716.75
8.0.100.0040.00416.83
8.0.90.0080.00016.78
8.0.80.0040.01216.79
8.0.70.0000.00716.70
8.0.60.0040.00416.84
8.0.50.0040.00416.83
8.0.30.0110.00616.71
8.0.20.0090.00917.09
8.0.10.0040.00416.94
8.0.00.0090.00916.98
7.4.330.0050.00016.53
7.4.320.0030.00316.39
7.4.300.0060.00016.52
7.4.290.0080.00016.50
7.4.280.0050.00516.63
7.4.270.0040.00416.50
7.4.260.0000.00613.27
7.4.250.0000.00716.47
7.4.240.0050.00216.50
7.4.230.0070.00016.40
7.4.220.0050.00216.51
7.4.210.0080.00716.53
7.4.200.0070.00016.57
7.4.130.0120.00516.56
7.4.120.0160.00316.66
7.4.110.0100.00716.49
7.4.100.0130.01316.45
7.4.90.0060.01016.41
7.4.80.0120.00619.39
7.4.70.0140.01016.34
7.4.60.0050.01016.54
7.4.50.0060.00916.49
7.4.40.0120.00316.56
7.4.20.0060.00916.23
7.4.10.0070.01016.10
7.4.00.0060.00916.40
7.3.330.0050.00216.09
7.3.320.0000.00513.29
7.3.310.0060.00016.08
7.3.300.0040.00416.11
7.3.290.0040.01016.19
7.3.260.0150.00916.21
7.3.240.0090.00816.36
7.3.230.0090.01416.25
7.3.210.0140.00316.27
7.3.200.0100.00716.45
7.3.190.0000.01616.50
7.3.180.0060.01616.27
7.3.170.0060.01016.15
7.3.160.0130.00416.36
7.3.140.0090.00616.39
7.3.130.0120.00816.47
7.3.120.0090.00616.30
7.3.110.0090.00616.31
7.3.100.0090.00616.20
7.3.90.0070.01016.41
7.3.80.0030.01216.20
7.3.70.0100.01016.16
7.3.60.0030.01716.10
7.3.50.0070.01416.10
7.3.40.0090.01316.35
7.3.30.0080.00816.20
7.3.20.0060.01316.11
7.3.10.0060.01216.26
7.3.00.0140.00516.13
7.2.330.0160.00516.84
7.2.320.0170.00016.75
7.2.310.0060.01216.78
7.2.300.0120.00616.70
7.2.290.0060.01116.21
7.2.270.0090.00616.34
7.2.260.0060.01516.39
7.2.250.0090.00916.42
7.2.240.0070.01716.32
7.2.230.0100.00716.40
7.2.220.0030.01316.72
7.2.210.0120.00316.36
7.2.200.0070.01416.59
7.2.190.0030.01716.45
7.2.180.0090.01216.51
7.2.170.0060.00916.52
7.2.160.0040.01416.45
7.2.150.0090.00916.43
7.2.140.0100.00916.59
7.2.130.0080.00816.64
7.2.120.0130.00316.61
7.2.110.0090.00916.59
7.2.100.0090.00916.50
7.2.90.0030.01316.43
7.2.80.0090.01216.61
7.2.70.0120.00616.39
7.2.60.0070.01116.44
7.2.50.0170.00716.65
7.2.40.0090.01316.51
7.2.30.0160.00616.57
7.2.20.0030.01316.37
7.2.10.0040.01216.64
7.2.00.0090.00916.36

preferences:
64.75 ms | 401 KiB | 5 Q