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"=>"" ) ); $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.0070.01416.50
8.3.50.0070.00716.35
8.3.40.0070.00718.75
8.3.30.0060.00918.54
8.3.20.0030.00720.29
8.3.10.0030.00921.97
8.3.00.0000.00821.95
8.2.180.0060.01216.50
8.2.170.0110.01122.96
8.2.160.0100.00318.91
8.2.150.0020.00524.18
8.2.140.0000.00724.66
8.2.130.0080.00021.00
8.2.120.0040.00426.35
8.2.110.0060.00319.45
8.2.100.0090.00317.72
8.2.90.0030.00519.23
8.2.80.0050.00317.97
8.2.70.0070.00317.36
8.2.60.0030.00517.68
8.2.50.0080.00018.10
8.2.40.0080.00020.48
8.2.30.0000.00719.19
8.2.20.0060.00318.06
8.2.10.0020.00518.07
8.2.00.0000.00718.16
8.1.280.0140.00325.92
8.1.270.0070.00022.23
8.1.260.0110.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00622.74
8.1.230.0040.00819.14
8.1.220.0000.00917.79
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0060.00318.50
8.1.160.0050.00218.92
8.1.150.0040.00420.67
8.1.140.0050.00219.50
8.1.130.0030.00318.86
8.1.120.0040.00417.49
8.1.110.0000.00817.43
8.1.100.0000.00717.50
8.1.90.0020.00517.46
8.1.80.0000.00817.30
8.1.70.0000.00717.44
8.1.60.0050.00317.61
8.1.50.0040.00417.53
8.1.40.0040.00417.56
8.1.30.0000.00717.65
8.1.20.0030.00617.54
8.1.10.0050.00317.41
8.1.00.0050.00317.28
8.0.300.0000.00720.02
8.0.290.0060.00316.63
8.0.280.0070.00018.37
8.0.270.0050.00317.25
8.0.260.0060.00016.72
8.0.250.0030.00316.88
8.0.240.0060.00316.95
8.0.230.0000.00716.82
8.0.220.0030.00316.90
8.0.210.0030.00316.74
8.0.200.0060.00016.84
8.0.190.0050.00516.96
8.0.180.0020.00516.91
8.0.170.0040.00416.93
8.0.160.0000.00716.75
8.0.150.0000.00716.81
8.0.140.0030.00316.80
8.0.130.0030.00313.32
8.0.120.0040.00416.88
8.0.110.0000.00816.99
8.0.100.0040.00416.71
8.0.90.0050.00316.90
8.0.80.0100.00716.80
8.0.70.0030.00516.99
8.0.60.0040.00416.95
8.0.50.0070.00016.83
8.0.30.0120.00616.97
8.0.20.0090.01217.40
8.0.10.0040.00416.86
8.0.00.0120.00616.89
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0000.00616.59
7.4.290.0070.00016.50
7.4.280.0040.00416.57
7.4.270.0030.00316.59
7.4.260.0030.00316.62
7.4.250.0000.00716.58
7.4.240.0040.00416.51
7.4.230.0000.00816.62
7.4.220.0130.00316.47
7.4.210.0100.00716.44
7.4.200.0000.00716.44
7.4.160.0080.00816.54
7.4.150.0040.01417.40
7.4.140.0140.00517.86
7.4.130.0100.00916.47
7.4.120.0070.01116.58
7.3.330.0000.00513.05
7.3.320.0030.00313.19
7.3.310.0050.00216.23
7.3.300.0030.00316.18
7.3.290.0090.00616.22
7.3.280.0100.00716.21
7.3.270.0160.00017.40
7.3.260.0030.01516.29
7.3.250.0100.00716.45
7.3.240.0080.00816.41

preferences:
44.74 ms | 401 KiB | 5 Q