Explain converting an object?
Answer / Viddhotma
To convert a PHP object to an array, you can use the json_encode() function with JSON_FORCE_OBJECT flag. Converting an object to a string is done using the serialize() function.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is array and function?
What is the difference between explode and split?
Is echo a function in php?
Explain the installation of PHP on UNIX systems?
How to get the number of characters in a string?
Who is the father of PHP and explain the changes in PHP versions?
15 Answers ADISoft Tech, Genpact, PropTiger, TWA,
Which is not a file-related function in php?
What is overloading in php?
what will do ceil() and floor() in PHP?
What is include in php?
Explain what is the main difference between require() and require_once()?
I finished my degree 4 years back. I didnt get job in software. In the time(for 4 years) i worked one kpo industries. but now i got job in php(40 employes working there) as fresher(Salary 8000). Shall i join in php. I have no knowledge about php. Can i do well in php. How will my carrier if i join in php? Please can you give your idea.? It will be more usefull to me.