mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 12:25:14 +00:00
Printing
This commit is contained in:
parent
d97ae72eba
commit
6482a577f5
@ -1,8 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* Printing
|
||||
*/
|
||||
echo ""; // Print a string or type that can be made into a string(I.E int, float).
|
||||
print_r($arr); // Print anything, with type hints for array's and object's
|
||||
var_dump($arr); // Print anything, with type hints for any value and sizes
|
||||
|
||||
/**
|
||||
* Ways of looping
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user