php stop execution
snippet in php

php stop execution

user5821

<?php 
//declaring variables 
$a=5; 
$b=5.0; 
  
if($a==$b) 
 { 
    //terminating script with a message using exit() 
    exit('variables are equal'); 
 } 
else
 { 
   //terminating script with a message using exit() 
    exit('variables are not equal');  
 } 
?>