<?php
$array = array( 0 => 'aa', 1 => 'bbb', 2 => null, 3 => 'ddd', 4 => null);
PD9waHAKCiRhcnJheSA9IGFycmF5KCAwID0+ICdhYScsIDEgPT4gJ2JiYicsIDIgPT4gbnVsbCwgMyA9PiAnZGRkJywgNCA9PiBudWxsKTsKCiRhcnJheWYxID0gYXJyYXlfZmlsdGVyKCRhcnJheSwgZnVuY3Rpb24oJHYpe2lmKCFlbXB0eSgkdikpIHJldHVybiB0cnVlO30pOwokYXJyYXlmMiA9IGFycmF5X2ZpbHRlcigkYXJyYXksIGZ1bmN0aW9uKCR2KXtyZXR1cm4gIWVtcHR5KCR2KTt9KTsKJGFycmF5ZjMgPSBhcnJheV9maWx0ZXIoJGFycmF5KTsKCnByaW50X3IoJGFycmF5KTsKcHJpbnRfcigkYXJyYXlmMSk7CnByaW50X3IoJGFycmF5ZjIpOwpwcmludF9yKCRhcnJheWYzKTs=