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"=>"1", "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.0150.00016.38
8.3.50.0100.01016.09
8.3.40.0140.00018.70
8.3.30.0040.01118.68
8.3.20.0030.00520.34
8.3.10.0070.00321.86
8.3.00.0040.00422.10
8.2.180.0110.00418.04
8.2.170.0150.00022.96
8.2.160.0080.00618.90
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0060.00321.03
8.2.120.0000.00826.35
8.2.110.0000.00919.21
8.2.100.0070.00418.03
8.2.90.0080.00019.17
8.2.80.0070.00018.04
8.2.70.0060.00317.50
8.2.60.0000.00718.04
8.2.50.0060.00318.10
8.2.40.0000.00720.47
8.2.30.0070.00321.09
8.2.20.0060.00317.93
8.2.10.0040.00418.19
8.2.00.0080.00018.18
8.1.280.0120.00925.92
8.1.270.0050.00222.05
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00023.92
8.1.230.0120.00019.18
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0000.00917.35
8.1.190.0000.00817.38
8.1.180.0050.00318.10
8.1.170.0040.00418.52
8.1.160.0030.00319.01
8.1.150.0000.00718.77
8.1.140.0040.00419.58
8.1.130.0080.00018.89
8.1.120.0050.00217.47
8.1.110.0040.00417.44
8.1.100.0040.00417.34
8.1.90.0050.00317.41
8.1.80.0030.00317.37
8.1.70.0000.00817.44
8.1.60.0040.00417.47
8.1.50.0040.00417.50
8.1.40.0040.00417.39
8.1.30.0050.00317.63
8.1.20.0000.00717.50
8.1.10.0040.00417.42
8.1.00.0000.00717.27
8.0.300.0050.00218.77
8.0.290.0020.00516.75
8.0.280.0070.00018.43
8.0.270.0030.00317.17
8.0.260.0000.00616.75
8.0.250.0040.00416.82
8.0.240.0000.00916.98
8.0.230.0030.00516.92
8.0.220.0070.00016.82
8.0.210.0050.00216.94
8.0.200.0030.00316.91
8.0.190.0000.00816.98
8.0.180.0000.00716.92
8.0.170.0030.00516.95
8.0.160.0070.00016.86
8.0.150.0040.00416.82
8.0.140.0040.00416.84
8.0.130.0000.00513.35
8.0.120.0080.00016.80
8.0.110.0030.00316.71
8.0.100.0030.00516.72
8.0.90.0050.00216.89
8.0.80.0110.00616.83
8.0.70.0000.00816.90
8.0.60.0040.00416.71
8.0.50.0000.00716.69
8.0.30.0120.00817.00
8.0.20.0110.01017.40
8.0.10.0070.00016.79
8.0.00.0070.01016.61
7.4.330.0050.00015.55
7.4.320.0000.00716.64
7.4.300.0060.00016.46
7.4.290.0070.00016.50
7.4.280.0070.00016.62
7.4.270.0050.00316.35
7.4.260.0030.00316.43
7.4.250.0000.00716.36
7.4.240.0000.00716.59
7.4.230.0040.00416.30
7.4.220.0060.01816.70
7.4.210.0060.00916.45
7.4.200.0070.00016.33
7.4.160.0120.00316.37
7.4.150.0100.01017.40
7.4.140.0120.00517.86
7.4.130.0140.00416.41
7.4.120.0100.01016.60
7.3.330.0060.00013.21
7.3.320.0000.00613.17
7.3.310.0030.00516.27
7.3.300.0040.00416.24
7.3.290.0070.00816.26
7.3.280.0090.00716.23
7.3.270.0090.00917.40
7.3.260.0180.00916.28
7.3.250.0080.01016.27
7.3.240.0080.00816.25

preferences:
24.02 ms | 401 KiB | 5 Q