Is false empty php?



Is false empty php?..

Answer / Suman Shukla

In PHP, both false and empty are considered false when used in conditional statements. However, false is a boolean value, while empty is an operator that checks if a variable is empty or not.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What are the correct and the most two common way to start and finish a PHP block of code?

1 Answers  


How to concatenate two strings together in php?

1 Answers  


How do you define a constant in php?

1 Answers  


Why use php artisan serve?

1 Answers  


Tell me how to create a session? How to set a value in session? How to remove data from a session?

1 Answers  


What is the difference between InnoDb tables and MyIsam Tables in php

1 Answers  


How to get the number of characters in a string?

1 Answers  


What is the meaning of a persistent cookie?

1 Answers  


How can I find the colour of a pixel of an image?

2 Answers   Rushmore Consultancy,


hi abinashg i think u have experience in php plz tell me more about php now i raearlly want to do php wat is the future.my email id atul_saini2@yahoo.co.in.plz guide me thanks...........

2 Answers  


How to convert a json string to an array in php?

1 Answers  


How to copy a file?

1 Answers  


Categories