What is stdclass in php?



What is stdclass in php?..

Answer / Siddhartha

stdClass in PHP is a built-in class that represents an unnamed object. It's often used when a function returns an object without specifying its class. Properties can be accessed using the -> operator, similar to accessing properties of an array.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is a composer?

1 Answers  


Does php support inheritance?

1 Answers  


Explain the differences between get and post methods?

1 Answers  


How can we register the variables into a session?

1 Answers  


Which methods should be used for sending an email using the variables $to, $subject, and $body?

1 Answers  


How to check whether a number is prime or not?

1 Answers  


How to avoid the undefined index error?

1 Answers  


what is the maximum size of databasi in mysql?

4 Answers  


Tell me how can we change the maximum size of the files to be uploaded?

1 Answers  


Does wordpress still use php?

1 Answers  


what the new feature add in php 7.2?

1 Answers  


Difference between mysql_connect and mysql_pconnect?

1 Answers  


Categories