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.0120.00316.50
8.3.50.0060.00916.37
8.3.40.0160.00018.90
8.3.30.0090.00918.75
8.3.20.0040.00420.35
8.3.10.0090.00021.89
8.3.00.0000.00922.09
8.2.180.0070.01416.48
8.2.170.0100.01022.96
8.2.160.0110.00319.09
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00421.12
8.2.120.0080.00026.35
8.2.110.0040.00721.18
8.2.100.0060.00617.64
8.2.90.0000.00819.27
8.2.80.0030.00517.97
8.2.70.0080.00017.37
8.2.60.0030.00518.05
8.2.50.0000.00818.10
8.2.40.0040.00420.64
8.2.30.0000.00719.26
8.2.20.0030.00618.13
8.2.10.0040.00418.01
8.2.00.0080.00018.01
8.1.280.0100.00725.92
8.1.270.0040.00422.07
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00722.20
8.1.230.0060.00619.11
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.47
8.1.190.0040.00417.35
8.1.180.0050.00218.10
8.1.170.0000.00918.70
8.1.160.0030.00319.05
8.1.150.0000.00720.59
8.1.140.0000.00719.45
8.1.130.0050.00218.88
8.1.120.0040.00417.47
8.1.110.0070.00017.42
8.1.100.0050.00317.43
8.1.90.0030.00317.35
8.1.80.0030.00317.45
8.1.70.0000.00717.52
8.1.60.0040.00417.56
8.1.50.0000.00817.46
8.1.40.0030.00617.54
8.1.30.0000.00817.52
8.1.20.0030.00617.69
8.1.10.0060.00317.50
8.1.00.0000.00717.31
8.0.300.0060.00318.77
8.0.290.0030.00616.63
8.0.280.0000.00718.49
8.0.270.0040.00417.32
8.0.260.0030.00316.72
8.0.250.0000.00616.96
8.0.240.0040.00416.99
8.0.230.0000.00716.98
8.0.220.0000.00716.91
8.0.210.0000.00816.77
8.0.200.0030.00316.91
8.0.190.0050.00316.91
8.0.180.0030.00316.89
8.0.170.0080.00016.85
8.0.160.0050.00316.86
8.0.150.0000.00716.79
8.0.140.0030.00316.83
8.0.130.0030.00513.24
8.0.120.0030.00516.86
8.0.110.0040.00416.88
8.0.100.0040.00416.85
8.0.90.0000.00716.92
8.0.80.0070.01016.81
8.0.70.0000.00716.73
8.0.60.0000.00716.82
8.0.50.0050.00316.93
8.0.30.0130.00617.11
8.0.20.0150.00517.40
8.0.10.0030.00316.88
8.0.00.0060.01316.75
7.4.330.0000.00515.55
7.4.320.0030.00316.45
7.4.300.0030.00316.47
7.4.290.0070.00016.58
7.4.280.0000.00816.57
7.4.270.0030.00316.40
7.4.260.0070.00016.34
7.4.250.0040.00416.45
7.4.240.0000.00716.61
7.4.230.0000.00716.44
7.4.220.0100.01616.46
7.4.210.0110.00316.52
7.4.200.0070.00016.35
7.4.160.0090.00816.62
7.4.150.0120.00617.40
7.4.140.0110.00617.86
7.4.130.0070.01116.56
7.4.120.0130.00716.50
7.3.330.0030.00313.20
7.3.320.0000.00613.19
7.3.310.0060.00016.22
7.3.300.0000.00716.21
7.3.290.0040.01116.19
7.3.280.0110.00816.20
7.3.270.0120.00417.40
7.3.260.0090.00816.13
7.3.250.0110.00816.36
7.3.240.0120.00616.33

preferences:
34.41 ms | 401 KiB | 5 Q