PHP
Consider f ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Consider following code snippet:
$t = true.false; echo $t;
What will printed out?
An error will be thrown
1
0
true
false
Explanation
Using "." we convert boolean true to 1, and 0 to to empty string.
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
P
HP
Quiz
Login to learn PHP
or
Read more about
PHP Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
PHP quizzes
Consider following code: switch ("a") { case...
What will be the value of out after executing the code? ...
Consider following code snippet: var r = ['a', 'l', 'p', 'h']; ...
How do you loop through objects in an array?...
Select the name of the String method that returns the position of first occurren...
What is the correct JavaScript syntax to disable right mouse click on your web p...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment