ok, let’s play around with some things recently
First play around with php, this article will be updated at any time
This article is written by a developer who has programming experience in other high-level languages.
PHP supports functional programming, that is,function
, and also supportsoop
Some similarities and differences
__construct
$
$obj-> variable name/function name
, but please note ,$
appears once is enough, eg:$obj->getAll();
Some practical things
var_dump(variable)
function can display the storage structure of variables, when you don’t When you know what a thing is, just use it to debug itThe above introduces play with php, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.