- var_dump: documentation ( source)
- array_flip: documentation ( source)
- current: documentation ( source)
<?php
if (defined('HHVM_VERSION')) {
exit('*HHVM skipped*');
}
// The following line will emit some error if current()'s argument cannot be passed by value
var_dump(current(array_flip(array('foo' => 'bar'))));