note 85908 deleted from language.operators.arithmetic by hholzgra
| From: | hholzgra@php.net | Date: | Thu, 02 Aug 2012 15:07:20 +0000 |
| Subject: | note 85908 deleted from language.operators.arithmetic by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189819@lists.php.net to get a copy of this message | ||
Note Submitter: olilo
----
It should be noted that every string will be converted to 0.
<?php
/* tested under PHP 5.2.3-1ubuntu6 (cli) (built: Oct 4 2007 23:35:54) */
echo "foo" * "bar";
echo "foo" / "bar";
?>
Results:
0
Warning: Division by zero in /tmp/test.php on line 3