<?php
$array = array (
'AddRooms' => '',
'AvailUtil' => 'City Water,Municipal / Public',
'CommonFacilities' => '',
'CommunityAmenities' => '',
'Construct' => 'Poured In Place Foundation,Pre-stressed Concrete,Steel & Concrete',
'Garage' => '1 Car Garage',
'Heating' => 'Radiant',
'Laundry' => '',
'Location' => '',
'ParkingDescription' => '1 Car Garage',
'PrkType' => '1 Car Garage',
'PropertySubType' => 'Residential',
'ResidentFeatures' => '',
'SFSource' => 'County/Gov\'t',
'Appliances' => 'Dishwasher,ElectricRange,Disposal,Microwave,Refrigerator,SomeElectricAppliances,Dryer,Washer',
'Area' => 'Wildernest/Silverthorne',
'AssocFee' => 580.0,
'AssocFeeIncl' => 'CommonAreas,CableTV,Gas,HVAC,Insurance,Sewer,SnowRemoval,Trash,Water',
'AssocFreq' => 'Monthly',
'BathsFull' => 2,
'BathsTotal' => 2,
'BedsTotal' => 2,
'City' => 'SILVERTHORNE',
'CloseDate' => '2019-05-16',
'ClosePrice' => 520000.0,
'ComplexSubdiv' => 'RETREAT ON THE BLUE CONDO',
'CountyOrParish' => 'Summit',
'CurrentTaxAmount' => 1315.0,
'CurrentTaxYear' => 2017,
'DrivingDirections' => 'In Silverthorne, North on Blue River Parkway, go right into Retreat on the Blue Sub, across from Subaru Dealer, and follow back to north end unit, building D. Condo is on top level.',
'EconomicArea' => 'Silverthorne/Dillon',
'FloorCvr' => 'Carpet,Tile',
'Furnish' => 'Partially',
'Latitude' => 39.63991,
'LegalDesc' => 'UNIT D2 RETREAT ON THE BL',
'ListAgentDirectWorkPhone' => '(970) 389-2996',
'ListAgentEmail' => 'jackie@buysummitcounty.com',
'ListAgentFullName' => 'Jackie McPheeters',
'ListAgentMLSID' => '0199009',
'ListingContractDate' => '2019-02-25',
'ListOfficeMLSID' => '1606',
'ListOfficeName' => 'Colorado Homes Real Estate Co.',
'ListOfficePhone' => '(970) 389-2996',
'ListPrice' => 555000.0,
'LivAreaSF' => 1155.0,
'Longitude' => -106.075366,
'Matrix_Unique_ID' => '6099266',
'MatrixModifiedDT' => '2020-01-04T00:57:15.177-00:00',
'MLSNumber' => 'S1012315',
'NumLevelsinUnit' => 'One',
'OriginalEntryTimestamp' => '2019-02-25T18:40:13.437-00:00',
'ParcelNumber' => '6511099',
'PendingDate' => '2019-03-22T00:00:00.000-00:00',
'PetsAllowed' => 'OwnerOnly,PetRestrictions',
'Possession' => 'DeliveryOfDeed',
'PostalCode' => '80498',
'PropertyType' => 'Condominium',
'PublicRemarks' => 'Rare 2 bed, 2 bath, Top Floor end unit on the Blue River! This home is a wonderful place to call home in the mountains. It\'s in a quiet, serene setting, overlooking the Blue River. Move in ready for Buyer\'s convenience. Well kept with nice furniture and great for an investment property. 1 car garage. Short-term renting allowed.',
'Roof' => 'Asphalt',
'Sewer' => 'Connected',
'StateOrProvince' => 'CO',
'Status' => 'Closed',
'StreetName' => 'Blue River',
'StreetNumber' => '848',
'UnitEntryLev' => 2,
'UnitNumber' => 'D2',
'View' => 'Mountains,River,CreekStream',
'WtrSource' => 'Public',
'YearBuilt' => 2002,
'ZoningCode' => 'Planned Unit Development',
'Zztop' => '0',
'Zzbottom' => 0
);
$func = function($var){
return $var !== '';
};
$filtered = array_filter($array, $func);
var_dump($filtered);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/6PaSP
function name: (null)
number of ops: 12
compiled vars: !0 = $array, !1 = $func, !2 = $filtered
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
78 1 DECLARE_LAMBDA_FUNCTION '%00%7Bclosure%7D%2Fin%2F6PaSP%3A78%240'
2 ASSIGN !1, ~4
82 3 INIT_FCALL 'array_filter'
4 SEND_VAR !0
5 SEND_VAR !1
6 DO_ICALL $6
7 ASSIGN !2, $6
84 8 INIT_FCALL 'var_dump'
9 SEND_VAR !2
10 DO_ICALL
11 > RETURN 1
Function %00%7Bclosure%7D%2Fin%2F6PaSP%3A78%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/6PaSP
function name: {closure}
number of ops: 4
compiled vars: !0 = $var
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
78 0 E > RECV !0
79 1 IS_NOT_IDENTICAL ~1 !0, ''
2 > RETURN ~1
80 3* > RETURN null
End of function %00%7Bclosure%7D%2Fin%2F6PaSP%3A78%240
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
185.93 ms | 1395 KiB | 17 Q