<?php//Naming convention$first_name='Mike'.// all lower case with underscore separatorsfunctionupdateProduct()// camelCaseclassProductItem// StudlyCapsconstACCESS_KEY='123abc';// all upper case with underscore separators//outputecho'Hello World';//variable declaration$name='Mike';//string$isActive=true;//boolean$number=25;//integer$amount=99.95;//float...
You seem to introduce a naming convention of camel case for var names, then immediately contradict it with $isActive?
Businessman and blogger #Javascript, #Python and #PHP. My favorite frameworks/librairies are #React, #Laravel, and #Django. I am also a fan of #TailwindCSS
You seem to introduce a naming convention of camel case for var names, then immediately contradict it with
$isActive
?Good point :-)