Hi everyone, I am a pure developer. Now I am learning PHP. I am learning php objects and I am trying this code
<html> <head> </head> <body> <?php $obj=(object)'ciao'; echo $obj->scalar; ?> </body> </html>
Here I want to know exactly what a scalar is? Why are we using it here?
source share