Location: PHPKode > projects > phc > test/subjects/errors/illegal_offset_type.php
<?php

	// TODO also check arrays
	// TODO Hard to say if this should be an error or a warning. Its only a run-time
	// warning in PHP, and you're code will continue running, but its definately an error.

	$x = array (array (5) => 5); // { phc-error: Illegal offset type }
?>
Return current item: phc