3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Kurier { public function __construct() { echo "Konstruktor"; } public static function zrobCos($literka) { return strtoupper($literka); } public function __destruct() { echo "Destruktor"; } } echo "Poczatek"; $kurier = new Kurier(); echo $kurier->zrobCos('o'); unset($kurier); 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.22
8.3.50.0110.00417.78
8.3.40.0090.00618.67
8.3.30.0070.00718.71
8.3.20.0040.00419.16
8.3.10.0000.00819.30
8.3.00.0040.00423.66
8.2.180.0120.00318.28
8.2.170.0120.00322.96
8.2.160.0070.00720.33
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.83
8.2.120.0060.00326.35
8.2.110.0050.00521.05
8.2.100.0070.00418.22
8.2.90.0060.00319.18
8.2.80.0030.00618.03
8.2.70.0040.00417.89
8.2.60.0000.00917.68
8.2.50.0030.00618.10
8.2.40.0040.00419.34
8.2.30.0000.00819.38
8.2.20.0030.00517.93
8.2.10.0000.00719.78
8.2.00.0050.00219.38
8.1.280.0100.01025.92
8.1.270.0040.00422.02
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0080.00320.93
8.1.230.0030.00717.77
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0030.00617.13
8.1.180.0000.00718.10
8.1.170.0050.00318.51
8.1.160.0000.00818.84
8.1.150.0000.00718.87
8.1.140.0040.00417.68
8.1.130.0030.00318.95
8.1.120.0000.00817.32
8.1.110.0070.00017.42
8.1.100.0000.00717.45
8.1.90.0040.00417.24
8.1.80.0050.00317.35
8.1.70.0000.01017.34
8.1.60.0030.00517.64
8.1.50.0000.00917.49
8.1.40.0030.00617.45
8.1.30.0040.00417.61
8.1.20.0040.00417.60
8.1.10.0060.00317.54
8.1.00.0000.00817.51
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0080.00018.49
8.0.270.0000.00817.25
8.0.260.0030.00317.23
8.0.250.0000.00716.92
8.0.240.0030.00416.93
8.0.230.0030.00516.87
8.0.220.0000.00616.81
8.0.210.0070.00016.85
8.0.200.0040.00416.91
8.0.190.0040.00416.77
8.0.180.0050.00216.80
8.0.170.0060.00316.83
8.0.160.0040.00416.71
8.0.150.0000.00716.77
8.0.140.0070.00016.68
8.0.130.0000.00613.21
8.0.120.0000.00816.68
8.0.110.0040.00416.70
8.0.100.0050.00216.72
8.0.90.0070.00016.71
8.0.80.0100.00716.81
8.0.70.0070.00016.77
8.0.60.0050.00216.87
8.0.50.0040.00416.79
8.0.30.0100.00717.02
8.0.20.0130.00617.40
8.0.10.0040.00416.78
8.0.00.0070.01216.90
7.4.330.0050.00015.55
7.4.320.0060.00016.43
7.4.300.0030.00316.59
7.4.290.0030.00316.61
7.4.280.0000.00816.63
7.4.270.0080.00016.52
7.4.260.0000.00816.48
7.4.250.0000.00816.61
7.4.240.0030.00316.41
7.4.230.0040.00316.66
7.4.220.0040.00416.35
7.4.210.0050.00916.59
7.4.200.0070.00016.61
7.4.160.0040.01116.54
7.4.140.0140.00817.86
7.4.130.0110.00516.42
7.4.120.0120.00816.48
7.4.110.0130.00316.49
7.4.100.0100.00616.39
7.4.90.0100.00716.47
7.4.80.0090.01219.39
7.4.70.0130.00316.41
7.4.60.0090.00616.48
7.4.50.0020.01216.38
7.4.40.0070.01016.53
7.3.330.0000.00513.20
7.3.320.0000.00513.10
7.3.310.0030.00316.08
7.3.300.0030.00316.11
7.3.290.0060.00016.28
7.3.280.0100.00816.28
7.3.260.0110.00916.33
7.3.240.0060.01116.27
7.3.230.0100.01416.23
7.3.210.0060.01216.57
7.3.200.0050.01116.18
7.3.190.0070.01016.52
7.3.180.0110.00616.25
7.3.170.0000.01816.38
7.3.160.0090.00916.27
7.2.330.0120.00616.37
7.2.320.0000.01916.64
7.2.310.0070.01416.58
7.2.300.0120.00616.43
7.2.290.0120.00616.32

preferences:
58.58 ms | 400 KiB | 5 Q