php/laravel Flashcards
1
Q
php: Every php document is started and ended with
A
-?php
?>
2
Q
php: To print to the console, type
A
echo ‘string’;
3
Q
php: To write a comment, type
A
//
4
Q
php: To create an empty variable, type
A
$my_var;
5
Q
php: To print a objects’s type and value to the console, type
A
var_dump($my_var);