3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = array ( 'data' => array ( 'serial' => '1111111 ', 'year' => '', 'manufacturer' => '', 'manufacturer_short_title' => '', 'organization' => '', 'owner' => '', 'code_taxpayer' => '', 'mass_pasportom' => '', 'mass_fact' => '', 'reducing_mass' => '', 'date_extraordinary' => '', 'date_maintenance' => '', 'date_next' => '', 'date_complex' => '', 'lifetime' => '', 'expert' => '', 'number_expert' => '', 'comment' => '', ), ); print_r(array_filter($d));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [data] => Array ( [serial] => 1111111 [year] => [manufacturer] => [manufacturer_short_title] => [organization] => [owner] => [code_taxpayer] => [mass_pasportom] => [mass_fact] => [reducing_mass] => [date_extraordinary] => [date_maintenance] => [date_next] => [date_complex] => [lifetime] => [expert] => [number_expert] => [comment] => ) )