PHP integral arguments such as in curl_setopt and filter_var -
I am constantly browsing the document, but I can not seem to know that the function is an argument in which there is an int datatype I for example, in filter_var:
filter_var ('bob@example.com ', FILTER_VALIDATE_EMAIL); ... or in curl
curl_setopt ($ curl, CURLOPT_URL, 'http://example.com'); What is FILTER_VALIDATE_EMAIL and CURLOPT_URL?
They are called.
This is just a variable, but because it is stable, it should be written as the only capital letters to separate it from other types of variables. This is the naming convention.
Define ('YOUR_CONSTANT', '894616466'); Echo YOUR_CONSTANT; // 894616466
Comments
Post a Comment