Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 809 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 809 Bytes

PHP-Snippets

This is our collection of PHP-Snippets, they are incredibly easy to use.

You can either include just the ones you want like normal or you can include "include_functions.php" and it will include the rest for you.

Lets look at an example.

We have the following string.

$my_string = "Kakadua means Cockatoo in Swedish";

We want to check if the string contains the word Cockatoo by using our function string_contain($string, $substring)

All scripts have PHPDoc written for apigen http://www.apigen.org/