3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Node { protected $nid; public function __construct($nid) { $this->nid = $nid; } } $node = new Node(12); if (isset($node->book['bid'])) { print 'it is a book node'; }

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.0170.00318.52
8.3.50.0140.00018.20
8.3.40.0040.01118.67
8.3.30.0070.00718.64
8.3.20.0040.00420.38
8.3.10.0080.00020.51
8.3.00.0040.00420.48
8.2.180.0110.01116.38
8.2.170.0070.01422.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00419.23
8.2.120.0000.00726.35
8.2.110.0140.00319.39
8.2.100.0060.00617.78
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0040.00417.80
8.2.50.0060.00318.09
8.2.40.0090.00020.47
8.2.30.0040.00419.54
8.2.20.0000.00717.58
8.2.10.0000.00817.93
8.2.00.0040.00417.97
8.1.280.0100.00725.92
8.1.270.0080.00023.91
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0090.00021.26
8.1.230.0040.00817.52
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0100.00017.22
8.1.190.0000.01017.35
8.1.180.0080.00018.10
8.1.170.0040.00418.33
8.1.160.0040.00422.68
8.1.150.0040.00418.86
8.1.140.0000.00719.39
8.1.130.0070.00017.64
8.1.120.0000.00717.48
8.1.110.0030.00417.27
8.1.100.0040.00417.28
8.1.90.0070.00017.29
8.1.80.0000.00717.37
8.1.70.0040.00417.40
8.1.60.0040.00417.64
8.1.50.0000.00917.51
8.1.40.0060.00317.58
8.1.30.0030.00617.64
8.1.20.0070.00017.68
8.1.10.0080.00017.44
8.1.00.0040.00417.43
8.0.300.0000.00818.77
8.0.290.0060.00316.63
8.0.280.0000.00718.38
8.0.270.0040.00417.23
8.0.260.0030.00617.10
8.0.250.0050.00216.80
8.0.240.0070.00016.79
8.0.230.0030.00316.78
8.0.220.0030.00316.85
8.0.210.0000.00716.72
8.0.200.0000.00616.92
8.0.190.0000.00816.87
8.0.180.0040.00416.79
8.0.170.0040.00416.86
8.0.160.0000.00816.93
8.0.150.0040.00416.78
8.0.140.0000.00816.76
8.0.130.0000.00513.24
8.0.120.0060.00316.80
8.0.110.0050.00216.69
8.0.100.0070.00016.84
8.0.90.0050.00216.63
8.0.80.0120.00416.88
8.0.70.0070.00016.79
8.0.60.0040.00416.84
8.0.50.0070.00016.67
8.0.30.0130.00417.25
8.0.20.0120.01017.40
8.0.10.0000.00816.82
8.0.00.0110.00916.78
7.4.330.0000.00515.08
7.4.320.0040.00416.55
7.4.300.0000.00616.58
7.4.290.0040.00416.52
7.4.280.0040.00416.64
7.4.270.0000.00716.60
7.4.260.0000.00716.43
7.4.250.0080.00016.42
7.4.240.0030.00316.55
7.4.230.0040.00416.58
7.4.220.0090.00616.49
7.4.210.0080.00716.62
7.4.200.0000.00816.59
7.4.160.0070.00716.38
7.4.150.0000.01817.40
7.4.140.0080.01317.86
7.4.130.0130.00916.51
7.4.120.0120.00516.62
7.4.110.0120.00416.66
7.4.100.0070.01116.54
7.4.90.0100.00716.49
7.4.80.0040.01619.39
7.4.70.0110.01116.45
7.4.60.0070.01116.50
7.4.50.0090.00916.57
7.4.40.0080.00816.57
7.4.30.0170.00016.63
7.4.00.0070.00714.88
7.3.330.0000.00613.17
7.3.320.0030.00513.02
7.3.310.0030.00316.29
7.3.300.0040.00416.11
7.3.290.0000.00616.11
7.3.280.0130.00416.21
7.3.270.0060.01017.40
7.3.260.0150.00616.46
7.3.250.0100.00916.36
7.3.240.0060.01516.35
7.3.230.0060.01116.45
7.3.210.0070.01016.41
7.3.200.0050.01016.40
7.3.190.0150.00316.23
7.3.180.0060.00916.39
7.3.170.0070.01116.25
7.3.160.0210.00016.34
7.3.10.0060.01216.15
7.3.00.0090.00316.21
7.2.330.0140.01016.35
7.2.320.0150.00716.61
7.2.310.0120.00916.65
7.2.300.0090.00916.70
7.2.290.0090.00616.52
7.2.130.0070.01416.48
7.2.120.0070.00716.54
7.2.110.0060.00916.44
7.2.100.0100.00716.37
7.2.90.0050.00816.57
7.2.80.0040.01116.48
7.2.70.0070.00716.77
7.2.60.0090.00216.72
7.2.50.0030.00616.59
7.2.40.0000.01116.62
7.2.30.0030.00916.41
7.2.20.0040.00716.75
7.2.10.0000.01416.70
7.2.00.0030.00716.95
7.1.250.0050.00515.57
7.1.200.0070.00715.50
7.1.70.0030.00617.17
7.1.60.0030.01619.27
7.1.00.0000.07322.31
7.0.200.0050.00516.73
7.0.60.0370.07019.95
7.0.50.0030.04017.90
7.0.40.0030.05320.02
7.0.30.0470.05020.08
7.0.20.0370.06020.30
7.0.10.0070.04720.19
7.0.00.0200.02720.02
5.6.280.0030.07020.86
5.6.210.0070.07720.63
5.6.200.0000.05018.15
5.6.190.0000.04320.69
5.6.180.0370.06720.77
5.6.170.0230.07720.52
5.6.160.0030.05020.44
5.6.150.0030.04018.27
5.6.140.0030.04718.15
5.6.130.0170.07718.23
5.6.120.0070.08020.95
5.6.110.0100.08020.99
5.6.100.0030.04021.01
5.6.90.0100.08320.97
5.6.80.0030.08020.37
5.5.350.0130.04720.43
5.5.340.0130.07018.08
5.5.330.0070.08320.23
5.5.320.0400.05320.31
5.5.310.0200.05720.27
5.5.300.0100.07017.94
5.5.290.0100.07717.98
5.5.280.0100.07320.90
5.5.270.0030.04320.79
5.5.260.0130.07720.95
5.5.250.0030.04020.55
5.5.240.0270.07020.07

preferences:
49.25 ms | 401 KiB | 5 Q