php常用関数


explode
implode
   
in_array --             
array --         
count --                    
range --                 
array_key_exists --                   
array_keys --           
array_map --                   
array_merge_recursive --             
array_merge --          
array_push


mysql
mysql_connect
mysql_query
mysql_select_db --    MySQL    
mysql_close --    MySQL   
mysql_fetch_array --                 ,     ,      
mysql_fetch_assoc --                  
mysql_fetch_field --                    
mysql_fetch_lengths --                
mysql_fetch_object --              
mysql_fetch_row --                

REG
preg_match_all --            
preg_match --          
preg_quote --          
preg_replace_callback --                   
preg_replace --              
preg_split --            
ereg_replace --        
ereg --        
eregi_replace --               
eregi --               
split --                 
spliti --                       
sql_regcase --                   
   
str_getcsv --  Parse a CSV string into an array 
str_ireplace --  Case-insensitive version of str_replace(). 
str_pad --  Pad a string to a certain length with another string 
str_repeat -- Repeat a string
str_replace --  Replace all occurrences of the search string with the replacement string 
str_rot13 -- Perform the rot13 transform on a string
str_shuffle -- Randomly shuffles a string
str_split --  Convert a string to an array 
str_word_count --  Return information about words used in a string 
strcasecmp --  Binary safe case-insensitive string comparison 
strchr --    strstr()
strcmp -- Binary safe string comparison
strcoll -- Locale based string comparison
strcspn --  Find length of initial segment not matching mask 
strip_tags -- Strip HTML and PHP tags from a string
stripcslashes --  Un-quote string quoted with addcslashes() 
stripos --  Find position of first occurrence of a case-insensitive string 
stripslashes --  Un-quote string quoted with addslashes() 
stristr --  Case-insensitive strstr() 
strlen -- Get string length
strnatcasecmp --  Case insensitive string comparisons using a "natural order" algorithm 
strnatcmp --  String comparisons using a "natural order" algorithm 
strncasecmp --  Binary safe case-insensitive string comparison of the first n characters 
strncmp --  Binary safe string comparison of the first n characters 
strpbrk --  Search a string for any of a set of characters 
strpos --  Find position of first occurrence of a string 
strrchr --  Find the last occurrence of a character in a string 
strrev -- Reverse a string
strripos --  Find position of last occurrence of a case-insensitive string in a string 
strrpos --  Find position of last occurrence of a char in a string 
strspn --  Find length of initial segment matching mask 
strstr -- Find first occurrence of a string
strtok -- Tokenize string
strtolower -- Make a string lowercase
strtoupper -- Make a string uppercase
strtr -- Translate certain characters
substr_compare --  Binary safe optionally case insensitive comparison of 2 strings from an offset, up to length characters 
substr_count -- Count the number of substring occurrences
substr_replace -- Replace text within a portion of a string
substr -- Return part of a string