3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Student { public $studentnummer; public $voornaam; } $student = new Student(); $student->voornaam = 'Barry'; $data = ['voornaam' => 'Barry']; var_dump(isset($student->studentnummer)); var_dump(isset($data['studentnummer'])); var_dump($student->studentnummer); var_dump($data['studentnummer']);

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.4.130.0140.00718.77
8.4.120.0080.01124.27
8.4.110.0130.00718.79
8.4.100.0160.00317.96
8.4.90.0090.00920.38
8.4.80.0050.00518.91
8.4.70.0110.00818.88
8.4.60.0140.00620.47
8.4.50.0120.00820.31
8.4.40.0030.01617.74
8.4.30.0030.00717.67
8.4.20.0100.01019.66
8.4.10.0050.00517.44
8.3.260.0100.01016.87
8.3.250.0130.00618.70
8.3.240.0040.00416.76
8.3.230.0140.00616.59
8.3.220.0050.00320.75
8.3.210.0040.00416.65
8.3.200.0040.00516.52
8.3.190.0070.00217.09
8.3.180.0100.00818.76
8.3.170.0040.01417.00
8.3.160.0030.01316.58
8.3.150.0040.01116.61
8.3.140.0030.00516.69
8.3.130.0040.00416.85
8.3.120.0180.00018.87
8.3.110.0090.00020.94
8.3.100.0030.00624.06
8.3.90.0090.00626.77
8.3.80.0070.00316.63
8.3.70.0090.01216.58
8.3.60.0070.01116.75
8.3.50.0130.00721.09
8.3.40.0130.00318.79
8.3.30.0070.00718.84
8.3.20.0080.00020.48
8.3.10.0040.00421.90
8.3.00.0030.00519.51
8.2.290.0130.00417.17
8.2.280.0110.00918.42
8.2.270.0100.00717.11
8.2.260.0150.00416.96
8.2.250.0080.00018.53
8.2.240.0090.00018.95
8.2.230.0040.00422.58
8.2.220.0060.00937.54
8.2.210.0040.00426.77
8.2.200.0060.00317.00
8.2.190.0180.00017.00
8.2.180.0040.01125.92
8.2.170.0180.00318.96
8.2.160.0100.01022.96
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0020.00519.95
8.2.120.0000.00726.35
8.2.110.0100.00021.06
8.2.100.0040.00817.91
8.2.90.0000.00819.13
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0050.00317.93
8.2.50.0000.00718.10
8.2.40.0050.00320.42
8.2.30.0040.00419.25
8.2.20.0020.00518.13
8.2.10.0040.00418.14
8.2.00.0040.00417.67
8.1.330.0090.01016.29
8.1.320.0090.00518.16
8.1.310.0100.00316.88
8.1.300.0070.00416.11
8.1.290.0030.00718.88
8.1.280.0090.00625.92
8.1.270.0040.00422.07
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00720.95
8.1.230.0080.00420.25
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0020.00518.10
8.1.170.0080.00018.60
8.1.160.0060.00318.94
8.1.150.0030.00320.18
8.1.140.0070.00019.43
8.1.130.0070.00017.65
8.1.120.0000.00817.42
8.1.110.0020.00517.41
8.1.100.0040.00417.29
8.1.90.0080.00017.43
8.1.80.0000.00717.39
8.1.70.0000.00717.40
8.1.60.0040.00417.53
8.1.50.0030.00617.42
8.1.40.0030.00517.47
8.1.30.0030.00617.50
8.1.20.0070.00017.57
8.1.10.0040.00417.54
8.1.00.0050.00217.57
8.0.300.0000.00718.77
8.0.290.0100.00016.63
8.0.280.0030.00318.38
8.0.270.0070.00017.20
8.0.260.0030.00317.23
8.0.250.0040.00416.83
8.0.240.0060.00016.95
8.0.230.0000.00816.92
8.0.220.0030.00316.84
8.0.210.0070.00016.89
8.0.200.0030.00316.83
8.0.190.0030.00516.99
8.0.180.0040.00416.81
8.0.170.0040.00416.79
8.0.160.0070.00016.80
8.0.150.0040.00416.75
8.0.140.0000.00716.90
8.0.130.0040.00413.34
8.0.120.0040.00416.86
8.0.110.0070.00016.91
8.0.100.0000.00716.96
8.0.90.0040.00416.73
8.0.80.0040.01016.89
8.0.70.0000.00816.91
8.0.60.0000.00716.93
8.0.50.0030.00516.89
8.0.30.0160.00517.12
8.0.20.0110.01117.41
8.0.10.0040.00416.85
8.0.00.0150.00616.98
7.4.330.0050.00315.55
7.4.320.0070.00016.46
7.4.300.0030.00316.47
7.4.290.0030.00316.55
7.4.280.0040.00416.34
7.4.270.0030.00316.52
7.4.260.0050.00316.58
7.4.250.0000.00716.43
7.4.240.0000.00716.60
7.4.230.0050.00316.57
7.4.220.0130.00316.62
7.4.210.0090.01016.37
7.4.200.0030.00316.44
7.4.160.0080.00716.44
7.4.150.0140.00317.40
7.4.140.0070.01117.86
7.4.130.0120.00816.51
7.4.120.0140.00816.46
7.4.110.0150.00616.26
7.4.100.0030.01716.39
7.4.90.0090.00916.48
7.4.80.0100.01019.39
7.4.70.0070.01016.42
7.4.60.0030.01316.73
7.4.50.0090.00616.43
7.4.40.0120.00616.45
7.4.30.0120.00816.54
7.4.00.0060.01214.88
7.3.330.0030.00313.42
7.3.320.0030.00213.44
7.3.310.0040.00416.46
7.3.300.0000.00716.33
7.3.290.0000.00716.20
7.3.280.0080.01216.35
7.3.270.0090.00917.40
7.3.260.0120.00516.44
7.3.250.0100.00916.36
7.3.240.0120.00516.43
7.3.230.0140.00816.39
7.3.210.0110.00616.42
7.3.200.0100.01016.43
7.3.190.0060.00916.36
7.3.180.0090.00616.43
7.3.170.0090.00716.41
7.3.160.0030.01716.33
7.2.330.0120.00616.52
7.2.320.0090.01516.72
7.2.310.0090.00916.67
7.2.300.0070.01616.93
7.2.290.0080.00816.53
7.2.60.0060.00916.89
7.2.50.0100.00316.90
7.2.00.0110.00618.96
7.1.200.0060.01015.97
7.1.70.0000.01217.07
7.1.60.0030.00916.87
7.1.00.0030.07722.37
7.0.200.0000.01716.62
7.0.130.0070.05722.05
7.0.120.0100.05322.05
7.0.110.0130.05322.02
7.0.100.0030.08322.16
7.0.90.0170.05022.14
7.0.80.0030.06022.02
7.0.70.0170.05722.05
7.0.60.0130.06021.96
7.0.50.0230.06722.11
7.0.40.0100.05322.09
7.0.30.0130.07722.15
7.0.20.0170.05322.11
7.0.10.0170.05022.01
7.0.00.0070.06022.19
5.6.270.0030.06320.90
5.6.260.0000.06321.04
5.6.250.0170.05020.96
5.6.240.0130.05321.07
5.6.230.0030.06320.84
5.6.220.0130.06721.04
5.6.210.0100.07020.93
5.6.200.0200.05021.06
5.6.190.0100.06021.01
5.6.180.0100.08020.93
5.6.170.0170.05721.00
5.6.160.0230.04320.75
5.6.150.0130.06020.83
5.6.140.0130.05720.86
5.6.130.0070.05720.74
5.6.120.0130.06021.00
5.6.110.0130.06020.99
5.6.100.0230.04721.00
5.6.90.0100.05720.99
5.6.80.0200.04320.32
5.6.70.0230.04720.39
5.6.60.0130.05720.46
5.6.50.0070.05320.39
5.6.40.0130.05020.11
5.6.30.0130.05020.40
5.6.20.0100.06020.20
5.6.10.0100.05720.35
5.6.00.0130.06720.39

preferences:
27.24 ms | 403 KiB | 5 Q