If Condition block can execute without else back in PHP. Is it true or false?

Report





Upload Image







Report Form



Question: If Condition block can execute without else back in PHP. Is it true or false?

Topics: PHP,If condition

Paste old question below.


Available Answers: 1


Answer #1#

0


Yes it is true. PHP script can run and execute if condition with out else block. 

Example

<?php

if(condition===true){

echo "hello";

}

Output: hello

Report

Answered By:
Yug

Yug

C, C++, jAVA, .nET

San Jose, United States

Only Logged in users can post reply.


More Questions


Login


Lost Password!

Create Account

Wait Processing...