xref: /PHP-5.3/Zend/tests/mod_001.phpt (revision c3b9d939)
1--TEST--
2modulus by zero
3--FILE--
4<?php
5
6$a = array(1,2,3);
7$b = array();
8
9$c = $a % $b;
10var_dump($c);
11
12echo "Done\n";
13?>
14--EXPECTF--
15Warning: Division by zero in %s on line %d
16bool(false)
17Done
18