note 100946 deleted from function.settype by danbrown
| From: | danbrown@php.net | Date: | Tue, 16 Nov 2010 16:52:54 +0000 |
| Subject: | note 100946 deleted from function.settype by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174092@lists.php.net to get a copy of this message | ||
Note Submitter: andris at codeaid dot net
----
@NWdev:
You didn't even have to go that far. All you had to do was change your function declaration
from
<?php
function str_to_int($val)
?>
to
<?php
function str_to_int(&$val)
?>