3v4l.org

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

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.0110.00716.50
8.3.50.0070.01016.29
8.3.40.0070.00718.61
8.3.30.0110.00418.54
8.3.20.0070.00020.31
8.3.10.0070.00421.77
8.3.00.0050.00322.04
8.2.180.0170.00317.93
8.2.170.0130.00322.96
8.2.160.0110.00418.91
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00021.13
8.2.120.0040.00426.35
8.2.110.0150.00320.93
8.2.100.0090.00318.09
8.2.90.0000.00719.22
8.2.80.0000.00818.04
8.2.70.0030.00717.63
8.2.60.0060.00318.05
8.2.50.0030.00618.10
8.2.40.0040.00420.50
8.2.30.0040.00419.24
8.2.20.0060.00318.05
8.2.10.0000.00718.15
8.2.00.0000.00718.11
8.1.280.0100.01025.92
8.1.270.0040.00422.05
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0000.00924.01
8.1.230.0080.00319.11
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0080.00017.48
8.1.190.0090.00017.22
8.1.180.0000.00718.10
8.1.170.0060.00318.70
8.1.160.0000.00818.93
8.1.150.0040.00420.68
8.1.140.0040.00419.64
8.1.130.0070.00018.80
8.1.120.0040.00417.46
8.1.110.0000.00817.40
8.1.100.0030.00517.44
8.1.90.0000.00817.48
8.1.80.0000.00817.46
8.1.70.0040.00417.45
8.1.60.0040.00417.55
8.1.50.0040.00417.52
8.1.40.0040.00417.52
8.1.30.0070.00017.66
8.1.20.0060.00317.66
8.1.10.0060.00317.43
8.1.00.0070.00017.37
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0070.00018.42
8.0.270.0000.00717.26
8.0.260.0070.00016.80
8.0.250.0030.00316.97
8.0.240.0050.00516.88
8.0.230.0050.00216.98
8.0.220.0070.00016.88
8.0.210.0000.00716.75
8.0.200.0030.00316.95
8.0.190.0040.00416.98
8.0.180.0050.00216.87
8.0.170.0040.00416.91
8.0.160.0000.00716.77
8.0.150.0030.00316.86
8.0.140.0050.00316.82
8.0.130.0060.00013.28
8.0.120.0020.00516.88
8.0.110.0000.00716.83
8.0.100.0020.00516.87
8.0.90.0040.00416.84
8.0.80.0090.01316.86
8.0.70.0000.00816.77
8.0.60.0000.00716.73
8.0.50.0040.00416.77
8.0.30.0110.00717.20
8.0.20.0100.01017.40
8.0.10.0070.00016.87
8.0.00.0060.01316.79
7.4.330.0000.00515.55
7.4.320.0050.00316.63
7.4.300.0000.00616.59
7.4.290.0000.00616.52
7.4.280.0040.00416.47
7.4.270.0030.00316.48
7.4.260.0030.00316.47
7.4.250.0000.00716.45
7.4.240.0070.00016.48
7.4.230.0080.00016.48
7.4.220.0170.00316.46
7.4.210.0000.01416.48
7.4.200.0070.00016.50
7.4.160.0080.00816.37
7.4.150.0180.00617.40
7.4.140.0150.00417.86
7.4.130.0030.01616.42
7.4.120.0120.00616.47
7.3.330.0030.00313.23
7.3.320.0060.00013.09
7.3.310.0050.00216.23
7.3.300.0070.00016.28
7.3.290.0080.00916.27
7.3.280.0080.00816.19
7.3.270.0110.00617.40
7.3.260.0100.00716.30
7.3.250.0120.00516.37
7.3.240.0070.01016.36

preferences:
44.82 ms | 401 KiB | 5 Q