mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-30 07:08:01 -08:00
Compare commits
4 Commits
2c27bfe30e
...
2f768b8f63
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f768b8f63 | ||
|
|
d63d75bb28 | ||
|
|
94087440e5 | ||
|
|
59b6486809 |
@@ -185,7 +185,6 @@ width="" <!-- Describes the width of th
|
||||
<!-- Some other useful tags -->
|
||||
|
||||
<canvas></canvas> <!-- Allows to draw 2D shapes on the web page with the help of javascript -->
|
||||
<keygen> <!-- Represents a control for generating a public-private key pair -->
|
||||
<map></map> <!-- Specifies an image map -->
|
||||
|
||||
<!-- Collective Character Obejcts -->
|
||||
|
||||
@@ -17,7 +17,7 @@ var_dump($arr); // Print anything, with type hints for any value and sizes
|
||||
$string = 'Awesome cheatsheets';
|
||||
|
||||
str_contains($string, 'cheat'); // Find if the string contains the specified string (PHP >= 8.0)
|
||||
str_replace('Awesome', 'Bonjour', $string); // Replace all occurence
|
||||
str_replace('Awesome', 'Bonjour', $string, $count); // Replace all occurence
|
||||
strcmp($string, 'Awesome cheatsheets'); // Compare two strings
|
||||
strpos($string, 'a', 0); // Get position in the string
|
||||
str_split($string, 2); // Split the string
|
||||
|
||||
Reference in New Issue
Block a user