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.70.0100.00718.18
8.3.60.0110.00716.63
8.3.50.0160.00316.47
8.3.40.0030.01718.46
8.3.30.0090.00618.59
8.3.20.0000.00820.33
8.3.10.0090.00023.42
8.3.00.0070.00021.93
8.2.180.0040.01118.41
8.2.170.0120.00322.96
8.2.160.0070.00719.08
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00421.04
8.2.120.0070.00726.35
8.2.110.0070.00320.97
8.2.100.0110.00018.03
8.2.90.0000.00819.13
8.2.80.0050.00317.97
8.2.70.0080.00317.46
8.2.60.0030.00517.80
8.2.50.0040.00418.10
8.2.40.0000.00720.55
8.2.30.0040.00420.92
8.2.20.0050.00518.07
8.2.10.0040.00418.16
8.2.00.0000.00718.22
8.1.280.0070.01425.92
8.1.270.0040.00422.19
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00820.86
8.1.230.0080.00417.83
8.1.220.0030.00517.78
8.1.210.0050.00318.77
8.1.200.0000.01017.23
8.1.190.0030.00617.36
8.1.180.0030.00618.10
8.1.170.0040.00418.37
8.1.160.0080.00019.02
8.1.150.0040.00418.92
8.1.140.0040.00419.54
8.1.130.0050.00318.85
8.1.120.0040.00417.43
8.1.110.0030.00617.41
8.1.100.0050.00317.47
8.1.90.0070.00017.43
8.1.80.0030.00317.40
8.1.70.0000.00717.46
8.1.60.0040.00417.61
8.1.50.0060.00317.45
8.1.40.0080.00017.39
8.1.30.0040.00417.55
8.1.20.0000.00817.55
8.1.10.0030.00617.31
8.1.00.0070.00017.24
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00618.44
8.0.270.0000.00717.31
8.0.260.0000.00616.82
8.0.250.0040.00416.91
8.0.240.0030.00716.94
8.0.230.0030.00316.84
8.0.220.0000.00716.78
8.0.210.0070.00016.90
8.0.200.0000.00716.93
8.0.190.0080.00016.94
8.0.180.0030.00316.81
8.0.170.0000.00716.96
8.0.160.0070.00016.78
8.0.150.0000.00716.72
8.0.140.0000.00716.75
8.0.130.0000.00613.27
8.0.120.0000.00716.80
8.0.110.0060.00316.75
8.0.100.0000.00716.68
8.0.90.0000.00716.84
8.0.80.0070.01016.91
8.0.70.0080.00016.97
8.0.60.0000.00716.95
8.0.50.0070.00016.94
8.0.30.0080.01217.00
8.0.20.0120.00717.40
8.0.10.0000.00816.88
8.0.00.0150.00416.89
7.4.330.0020.00215.55
7.4.320.0000.00716.46
7.4.300.0000.00616.57
7.4.290.0000.00716.49
7.4.280.0000.00716.59
7.4.270.0050.00216.60
7.4.260.0030.00316.60
7.4.250.0040.00416.58
7.4.240.0040.00416.55
7.4.230.0030.00316.50
7.4.220.0070.02016.70
7.4.210.0060.01016.45
7.4.200.0070.00016.55
7.4.160.0090.00616.53
7.4.150.0100.00717.40
7.4.140.0130.00817.86
7.4.130.0110.01116.35
7.4.120.0100.01116.59
7.3.330.0030.00313.09
7.3.320.0060.00013.23
7.3.310.0040.00416.26
7.3.300.0070.00016.27
7.3.290.0090.00616.23
7.3.280.0100.00716.24
7.3.270.0070.01017.40
7.3.260.0100.01016.41
7.3.250.0110.00816.48
7.3.240.0110.01116.40

preferences:
42.33 ms | 401 KiB | 5 Q