Show Menu
Cheatography

Waleed PHP 2018 Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Basic Syntax

<?php and ?>
pure PHP code, it is preferable to omit the PHP closing tag at the end of the file.
multible lines/* */ //or# for single line.
if you put ?> in single comment it will end the file
$name = "­Wal­eed­";
 

String (copy)

method
definition
return Type
str_re­pla­ce(­fff­ff,­ffff)
fdfdfdf
array of vfsdf
erererer