home
 
 
 
Boolean Operators
<?php
											 
											/*
												Boolean Operators
												© System
												http://qdl.scs-inc.us/?top=5207
											*/
											 
											echo '<html><body>';
											 
											function TruthfulFunction() {
											echo 'TruthfulFunction<br>';
											return true;
											}
											 
											echo '(false and TruthfulFunction()): '.(false and TruthfulFunction()).'<br><br>';
											echo '(TruthfulFunction() and false): '.(TruthfulFunction() and false).'<br><br>';
											echo '(false && TruthfulFunction()): '.(false && TruthfulFunction()).'<br><br>';
											echo '(TruthfulFunction() && false): '.(TruthfulFunction() && false).'<br><br>';
											echo '(false or TruthfulFunction()): '.(false or TruthfulFunction()).'<br><br>';
											echo '(TruthfulFunction() or false): '.(TruthfulFunction() or false).'<br><br>';
											echo '(false || TruthfulFunction()): '.(false || TruthfulFunction()).'<br><br>';
											echo '(TruthfulFunction() || false): '.(TruthfulFunction() || false).'<br><br>';
											 
											echo true.'<br>';
											echo false.'<br>';
											 
											echo '</body></html>';
											 
										?>

↑ UP Powered by Quick Disclosure Lite
© 2010~2021 SCS-INC.US
UP ↑