All pastes #563800 Raw Edit

Neb

public php v1 · immutable
·published 2007-06-13 09:54 UTC
rendered paste body
<?php	$storage = array("one","two","three");	$results = array();	foreach($storage as $key => $value){		array_push($results,array($key=>"Some code","validity"=>"valid"));	}//end foreach	var_dump($results);	print "<br/><br/>";	var_dump(in_array("valid",$results));?>