PHP – associative array value in double quoted string
To print associative array value in double quoted string in php, the following syntax using curly braces can be used. {$arr[‘key1’]} Note that curly braces read more
PHP check if string contains something
Checking if a string contains a substring is very frequently occuring use case in PHP code. PHP functions strpos or stripos (case insensitive version) can read more
PHP – split string examples
Splitting a string/text at a delimiter is very common use case in php. One can either use php explode (split on a fixed delimiter) or read more