RosettaCodeData/Task/Assertions/PHP/assertions.php
2023-07-01 13:44:08 -04:00

6 lines
160 B
PHP

<?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()
?>