3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Kurier { public static $koszt; public function __construct() { echo "Konstruktor"; self::$koszt = 10; } public static function zrobCos($literka) { return strtoupper($literka); } public function __destruct() { echo "Destruktor"; } } echo "Poczatek"; echo Kurier::$koszt; echo "Koniec";

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.0090.00618.05
8.3.50.0110.00318.04
8.3.40.0030.01318.68
8.3.30.0150.00018.48
8.3.20.0040.00419.07
8.3.10.0000.00819.12
8.3.00.0070.00023.65
8.2.180.0120.00316.50
8.2.170.0070.00722.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00719.82
8.2.120.0050.00326.35
8.2.110.0030.00722.25
8.2.100.0080.00417.72
8.2.90.0040.00419.23
8.2.80.0040.00419.37
8.2.70.0040.00417.50
8.2.60.0080.00017.80
8.2.50.0030.00518.07
8.2.40.0060.00318.05
8.2.30.0040.00417.98
8.2.20.0050.00217.88
8.2.10.0050.00318.06
8.2.00.0040.00419.40
8.1.280.0040.01225.92
8.1.270.0050.00222.16
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0090.00422.06
8.1.230.0070.00420.97
8.1.220.0080.00017.79
8.1.210.0090.00018.77
8.1.200.0040.00417.23
8.1.190.0040.00417.41
8.1.180.0000.00818.89
8.1.170.0090.00018.55
8.1.160.0070.00018.77
8.1.150.0030.00618.75
8.1.140.0070.00017.61
8.1.130.0070.00018.81
8.1.120.0000.00717.22
8.1.110.0050.00317.20
8.1.100.0040.00417.23
8.1.90.0050.00217.34
8.1.80.0030.00317.22
8.1.70.0040.00717.19
8.1.60.0000.00817.50
8.1.50.0080.00017.40
8.1.40.0000.00917.36
8.1.30.0040.00417.53
8.1.20.0000.00817.56
8.1.10.0060.00317.48
8.1.00.0030.00517.42
8.0.300.0000.00718.77
8.0.290.0060.00317.03
8.0.280.0030.00318.39
8.0.270.0040.00417.25
8.0.260.0070.00017.11
8.0.250.0030.00316.90
8.0.240.0040.00416.76
8.0.230.0030.00316.79
8.0.220.0070.00016.66
8.0.210.0040.00416.64
8.0.200.0000.00916.74
8.0.190.0070.00016.79
8.0.180.0030.00516.76
8.0.170.0000.00816.68
8.0.160.0030.00416.77
8.0.150.0000.00716.69
8.0.140.0030.00416.78
8.0.130.0000.00613.15
8.0.120.0030.00316.66
8.0.110.0060.00316.65
8.0.100.0040.00416.58
8.0.90.0040.00416.63
8.0.80.0130.00916.79
8.0.70.0000.00716.77
8.0.60.0000.00716.70
8.0.50.0000.00716.77
8.0.30.0090.00916.93
8.0.20.0110.00717.40
8.0.10.0040.00416.93
8.0.00.0110.00716.72
7.4.330.0050.00015.55
7.4.320.0060.00016.46
7.4.300.0000.00616.39
7.4.290.0000.00716.45
7.4.280.0000.00716.44
7.4.270.0040.00716.47
7.4.260.0000.00716.33
7.4.250.0030.00316.35
7.4.240.0070.00016.47
7.4.230.0000.00716.45
7.4.220.0000.00816.35
7.4.210.0060.00816.42
7.4.200.0000.00816.48
7.4.160.0070.00816.41
7.4.140.0120.00717.86
7.4.130.0090.00916.20
7.4.120.0110.00916.39
7.4.110.0130.00316.52
7.4.100.0130.00316.39
7.4.90.0090.00916.39
7.4.80.0070.01019.39
7.4.70.0030.01316.41
7.4.60.0060.00916.52
7.4.50.0070.01116.50
7.4.40.0100.01016.26
7.3.330.0000.00613.10
7.3.320.0000.00613.16
7.3.310.0000.00616.13
7.3.300.0000.00716.30
7.3.290.0070.00016.29
7.3.280.0070.00916.22
7.3.260.0080.01116.44
7.3.240.0080.00816.22
7.3.230.0070.01716.57
7.3.210.0070.01116.33
7.3.200.0150.00316.43
7.3.190.0140.00416.20
7.3.180.0040.01416.11
7.3.170.0060.01016.21
7.3.160.0090.00616.28
7.2.330.0040.01516.58
7.2.320.0190.00316.61
7.2.310.0080.00816.59
7.2.300.0040.01516.68
7.2.290.0080.01116.48

preferences:
52.32 ms | 401 KiB | 5 Q