3v4l.org

run code in 300+ PHP versions simultaneously
<?php $endpoint = array( "mac_address"=>"989096e255a1", "status" =>"Known", "attributes" => array( "Owner"=>"rogue@wpi.edu", "IPAM-Hostname"=>"dresden.wpi.edu", "IPAM-AdminState"=>"OK", "IPAM-NAS-IP-Address"=>"0", "IPAM-NAS-Port-ID"=>"1", "IPAM-RADIUS-VLAN"=>0, "IPAM-TimeStamp"=>"2017-07-11 11:18:33 EDT", "Guest Role ID"=>"false", "MAC-Auth Expiry"=>"1", "Username"=>"", ), "Username"=>"", ); $endpointcreate = array_filter($endpoint, function($var) {return !empty($var);}); $endpointcreate["attributes"] = array_filter($endpointcreate["attributes"], function($var) {return !(($var=='') || is_null($var));}); print_r($endpointcreate);

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.0070.00716.50
8.3.50.0070.01116.68
8.3.40.0150.00018.70
8.3.30.0100.00318.67
8.3.20.0080.00020.35
8.3.10.0050.00323.70
8.3.00.0000.00822.09
8.2.180.0120.00616.63
8.2.170.0120.00622.96
8.2.160.0070.00718.93
8.2.150.0070.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00419.16
8.2.120.0080.00026.35
8.2.110.0060.00322.21
8.2.100.0110.00017.72
8.2.90.0050.00319.07
8.2.80.0050.00318.00
8.2.70.0040.00717.75
8.2.60.0060.00317.93
8.2.50.0000.00818.10
8.2.40.0050.00320.36
8.2.30.0050.00219.39
8.2.20.0000.00718.18
8.2.10.0050.00318.18
8.2.00.0000.00918.17
8.1.270.0030.00622.15
8.1.260.0000.00826.35
8.1.250.0020.00528.09
8.1.240.0030.00623.92
8.1.230.0070.00419.16
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0040.00417.48
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0000.00818.80
8.1.160.0000.00719.02
8.1.150.0030.00620.65
8.1.140.0070.00019.54
8.1.130.0000.00818.83
8.1.120.0040.00417.38
8.1.110.0080.00017.43
8.1.100.0000.00717.36
8.1.90.0080.00017.35
8.1.80.0030.00317.48
8.1.70.0030.00317.46
8.1.60.0090.00017.60
8.1.50.0040.00417.43
8.1.40.0000.00717.51
8.1.30.0030.00517.71
8.1.20.0030.00617.60
8.1.10.0000.00817.54
8.1.00.0040.00417.35
8.0.300.0000.00820.09
8.0.290.0050.00216.75
8.0.280.0040.00418.36
8.0.270.0000.00717.17
8.0.260.0000.00616.82
8.0.250.0000.00716.98
8.0.240.0080.00016.99
8.0.230.0000.00916.98
8.0.220.0030.00316.89
8.0.210.0000.00716.84
8.0.200.0000.00716.98
8.0.190.0000.00816.87
8.0.180.0050.00216.91
8.0.170.0040.00416.94
8.0.160.0000.00716.79
8.0.150.0040.00416.90
8.0.140.0040.00416.83
8.0.130.0030.00313.33
8.0.120.0040.00416.79
8.0.110.0000.00716.74
8.0.100.0000.00716.74
8.0.90.0080.00016.87
8.0.80.0140.00916.96
8.0.70.0040.00416.75
8.0.60.0040.00416.82
8.0.50.0040.00416.96
8.0.30.0080.00717.00
8.0.20.0110.01017.40
8.0.10.0040.00417.05
8.0.00.0060.01516.80
7.4.330.0000.00515.55
7.4.320.0030.00316.49
7.4.300.0000.00616.61
7.4.290.0060.00016.60
7.4.280.0080.00016.41
7.4.270.0020.00516.50
7.4.260.0000.00716.44
7.4.250.0050.00316.56
7.4.240.0050.00216.50
7.4.230.0050.00316.68
7.4.220.0110.00816.64
7.4.210.0060.01316.64
7.4.200.0000.00716.36
7.4.160.0090.00816.45
7.4.150.0100.00717.40
7.4.140.0060.01217.86
7.4.130.0140.01216.46
7.4.120.0100.00916.61
7.3.330.0030.00413.32
7.3.320.0050.00013.23
7.3.310.0030.00316.32
7.3.300.0030.00316.30
7.3.290.0080.00716.32
7.3.280.0090.00716.35
7.3.270.0070.01017.40
7.3.260.0100.00816.53
7.3.250.0110.00616.43
7.3.240.0100.01016.53

preferences:
52.37 ms | 400 KiB | 5 Q