CorujaArrayManipulationExample.php
Go to the documentation of this file.00001 <?php
00002 require_once( "_start.php" );
00003 $arrExample = Array( "first" => 1 , "second" => 2 , "third" => 3);
00004
00005 print 'CorujaArrayManipulation::getArrayField( $arrExample , "first" ) = ' . var_export( CorujaArrayManipulation::getArrayField( $arrExample , "first" ) , true ) . "<br/>\n";
00006 print 'CorujaArrayManipulation::getArrayField( $arrExample , "notfound" ) = ' . var_export( CorujaArrayManipulation::getArrayField( $arrExample , "notfound" ) , true ) . "<br/>\n";
00007 print 'CorujaArrayManipulation::getArrayField( $arrExample , "notfound" , "newdefault") = ' . var_export( CorujaArrayManipulation::getArrayField( $arrExample , "notfound" , "newdefault") , true ) . "<br/>\n";
00008 ?>