<?php $x = new ArrayIterator( array( 'foo' => 1, 'bar' => 2, ) ); $keys = array_keys( $x ); if ( ! empty( $keys ) && is_array( $keys ) ) { print "PASS"; } else { print "FAIL"; }
You have javascript disabled. You will not be able to edit any code.