3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Student{ public $name; public function describe(){ echo "I am a student"; } public function __get($pm){ echo "$pm does not exist"; } public function __set($pm, $value){ echo "We set $pm->$value"; } public function __call($pm, $value){ echo 'There is no <b>'.$pm.'</b> method and arguments:'.implode(', ', $value); } } $st = new student(); $st->describe(); $st->Hasan; $st->age = 15; $st->notExistmethod('2','8','5'); ?>

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.0060.00916.61
8.3.60.0090.00916.50
8.3.50.0080.01017.56
8.3.40.0130.00618.63
8.3.30.0030.01418.70
8.3.20.0000.00820.29
8.3.10.0080.00021.85
8.3.00.0060.00317.78
8.2.180.0140.00716.63
8.2.170.0080.00822.96
8.2.160.0170.00020.32
8.2.150.0100.01024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.94
8.2.120.0100.00326.35
8.2.110.0000.00920.16
8.2.100.0040.00719.64
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0080.00417.63
8.2.60.0080.00018.04
8.2.50.0030.00518.10
8.2.40.0000.00820.61
8.2.30.0040.00421.02
8.2.20.0040.00418.07
8.2.10.0000.00718.11
8.2.00.0070.00017.95
8.1.280.0030.01425.92
8.1.270.0030.01424.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00523.88
8.1.230.0110.00018.99
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0060.00318.42
8.1.160.0040.00418.94
8.1.150.0070.00018.86
8.1.140.0070.00019.50
8.1.130.0070.00018.77
8.1.120.0000.00717.48
8.1.110.0050.00217.46
8.1.100.0040.00417.46
8.1.90.0020.00517.36
8.1.80.0000.00717.45
8.1.70.0030.00317.43
8.1.60.0040.00417.62
8.1.50.0050.00317.51
8.1.40.0050.00217.47
8.1.30.0040.00417.68
8.1.20.0030.00517.67
8.1.10.0040.00417.64
8.1.00.0040.00417.57
8.0.300.0030.00618.77
8.0.290.0060.00316.63
8.0.280.0070.00018.33
8.0.270.0050.00317.27
8.0.260.0030.00316.83
8.0.250.0040.00317.02
8.0.240.0040.00417.00
8.0.230.0000.00716.95
8.0.220.0030.00316.82
8.0.210.0030.00316.90
8.0.200.0000.00616.93
8.0.190.0090.00016.86
8.0.180.0050.00516.81
8.0.170.0030.00316.97
8.0.160.0000.00716.91
8.0.150.0040.00416.73
8.0.140.0040.00416.87
8.0.130.0060.00013.33
8.0.120.0000.00916.97
8.0.110.0000.00816.96
8.0.100.0020.00516.68
8.0.90.0030.00516.77
8.0.80.0030.01316.86
8.0.70.0080.00016.93
8.0.60.0040.00316.93
8.0.50.0040.00416.88
8.0.30.0110.00517.14
8.0.20.0100.00817.40
8.0.10.0000.00716.81
8.0.00.0030.01416.84
7.4.330.0000.00615.55
7.4.320.0030.00316.66
7.4.300.0070.00016.42
7.4.290.0030.00316.52
7.4.280.0000.00716.52
7.4.270.0030.00316.43
7.4.260.0060.00013.29
7.4.250.0040.00416.43
7.4.240.0040.00416.45
7.4.230.0070.00016.52
7.4.220.0060.01316.59
7.4.210.0110.00416.68
7.4.200.0020.00516.60
7.4.160.0100.00816.51
7.4.150.0140.00317.40
7.4.140.0110.00717.86
7.4.130.0170.00316.39
7.4.120.0100.01216.55
7.4.110.0030.01316.55
7.4.100.0130.00616.23
7.4.90.0090.00916.64
7.4.80.0110.00719.39
7.4.70.0030.01316.61
7.4.60.0080.00816.45
7.4.50.0030.01016.63
7.4.40.0120.00916.33
7.4.30.0110.01016.52
7.4.00.0060.01014.60
7.3.330.0070.00013.16
7.3.320.0000.00613.40
7.3.310.0000.00616.42
7.3.300.0000.00716.48
7.3.290.0090.01116.38
7.3.280.0110.00916.39
7.3.270.0140.00417.40
7.3.260.0120.00816.38
7.3.250.0140.00516.44
7.3.240.0100.01016.37
7.3.230.0090.00916.64
7.3.210.0080.00816.38
7.3.200.0090.00916.68
7.3.190.0080.00816.21
7.3.180.0130.00416.53
7.3.170.0060.01016.65
7.3.160.0030.01316.59
7.2.330.0040.01416.38
7.2.320.0110.01116.46
7.2.310.0080.00816.73
7.2.300.0040.01416.75
7.2.290.0100.01716.91
7.2.60.0100.00016.96
7.2.00.0040.00819.21
7.1.200.0090.00615.96
7.1.100.0030.00918.10
7.1.70.0240.00515.12
7.1.60.0250.02133.24
7.1.50.0400.00732.97
7.1.40.0370.01532.60
7.1.30.0290.01132.66
7.1.20.0210.01532.64
7.1.10.0160.00516.54
7.1.00.0030.01016.59
7.0.200.0170.00815.14
7.0.190.0210.00614.84
7.0.180.0180.00614.46
7.0.170.0070.01714.62
7.0.160.0040.01814.36
7.0.150.0150.01216.50
7.0.140.0090.00916.29
7.0.130.0150.00416.67
7.0.120.0140.00916.64
7.0.110.0120.00816.47
7.0.100.0170.00316.54
7.0.90.0140.00416.18
7.0.80.0110.01116.15
7.0.70.0090.01016.18
7.0.60.0140.00615.92
7.0.50.0130.00516.40
7.0.40.0070.01316.42
7.0.30.0130.00716.48
7.0.20.0130.00916.28
7.0.10.0060.01716.30
7.0.00.0090.01016.43

preferences:
67.98 ms | 401 KiB | 5 Q