RosettaCodeData/Task/Assertions/PHP/assertions.php

7 lines
160 B
PHP
Raw Permalink Normal View History

2013-04-09 00:46:50 -07:00
<?php
$a = 5
#...input or change $a here
assert($a == 42) # when $a is not 42, take appropriate actions,
# which is set by assert_options()
?>