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 !is_null($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.63
8.3.50.0070.00716.46
8.3.40.0110.00418.67
8.3.30.0090.00618.64
8.3.20.0070.00020.19
8.3.10.0090.00021.90
8.3.00.0050.00322.11
8.2.180.0150.00318.04
8.2.170.0030.01222.96
8.2.160.0040.01118.92
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00420.91
8.2.120.0050.00326.35
8.2.110.0060.00319.25
8.2.100.0040.00718.03
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0060.00317.93
8.2.50.0050.00318.10
8.2.40.0000.00720.40
8.2.30.0000.00719.18
8.2.20.0030.00618.20
8.2.10.0040.00418.01
8.2.00.0040.00418.09
8.1.280.0070.01125.92
8.1.270.0060.00322.20
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0080.00022.72
8.1.230.0040.00718.98
8.1.220.0000.00717.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00917.35
8.1.180.0040.00418.10
8.1.170.0040.00918.44
8.1.160.0030.00318.96
8.1.150.0000.00720.59
8.1.140.0040.00419.63
8.1.130.0030.00318.94
8.1.120.0000.00717.45
8.1.110.0000.00717.40
8.1.100.0040.00417.46
8.1.90.0040.00417.34
8.1.80.0040.00417.42
8.1.70.0000.00717.47
8.1.60.0000.00717.60
8.1.50.0030.00517.43
8.1.40.0000.00817.40
8.1.30.0070.00017.61
8.1.20.0040.00417.65
8.1.10.0000.00917.34
8.1.00.0040.00417.35
8.0.300.0080.00020.07
8.0.290.0000.00716.63
8.0.280.0050.00218.45
8.0.270.0000.00817.16
8.0.260.0060.00016.81
8.0.250.0030.00316.95
8.0.240.0110.00016.84
8.0.230.0030.00316.98
8.0.220.0000.00716.89
8.0.210.0030.00316.84
8.0.200.0060.00016.87
8.0.190.0040.00416.83
8.0.180.0000.00816.89
8.0.170.0050.00316.86
8.0.160.0040.00416.89
8.0.150.0000.00716.72
8.0.140.0000.00716.78
8.0.130.0030.00313.26
8.0.120.0040.00416.81
8.0.110.0000.00716.77
8.0.100.0000.00816.77
8.0.90.0000.00816.79
8.0.80.0080.00816.93
8.0.70.0050.00316.95
8.0.60.0000.00816.91
8.0.50.0030.00316.92
8.0.30.0120.01017.12
8.0.20.0100.00817.40
8.0.10.0080.00016.89
8.0.00.0190.00316.67
7.4.330.0000.00515.55
7.4.320.0030.00316.51
7.4.300.0030.00316.61
7.4.290.0040.00416.50
7.4.280.0000.00716.49
7.4.270.0000.00716.52
7.4.260.0030.00316.58
7.4.250.0040.00416.38
7.4.240.0040.00416.52
7.4.230.0030.00316.54
7.4.220.0110.00716.61
7.4.210.0000.01516.50
7.4.200.0040.00416.57
7.4.160.0110.00416.59
7.4.150.0110.00517.40
7.4.140.0100.00817.86
7.4.130.0120.00616.69
7.4.120.0110.00716.57
7.3.330.0020.00213.09
7.3.320.0050.00013.19
7.3.310.0030.00516.34
7.3.300.0000.00616.27
7.3.290.0100.00416.22
7.3.280.0080.00916.22
7.3.270.0040.01317.40
7.3.260.0080.01216.36
7.3.250.0110.00716.22
7.3.240.0090.01116.37

preferences:
32.29 ms | 401 KiB | 5 Q