3328 Views
1. array_change_key_case :-  It changes all the keys of  an array in uppercase. <?php $employee_id=array("Jim"=>"40535","Krish"=>"83007","Joe"=>"41233"); print_r(array_change_key_case($employee_id,CASE_UPPER)); ?> Output Array ( [JIM] => 40535 [KRISH] ...
Anamika Gupta
Jul 23, 2018
4318 Views
String is used to handle a function it is a sequence of characters .There are some of the string with example. 1. addcslashes :- It return the String with backslashes before the character. <?php echo addcslashes('Hello[ ]', 'A..z'); ?> Output \H\e\l\l\o\[ \] 2. addslashes ...
Anamika Gupta
Jul 14, 2018
Page 1 of 1 Pages       Total Records 2
  • First
  • Prev
  • 1
  • Next
  • Last