PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ ⎇ branch:  upgrade.php


Artifact [487e0a2136]

Artifact 487e0a2136760f579f65b417a7355d5931e8e813:

  • File doc/tests1all/floatval.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 152)

--TEST--
floatval
--FILE--
floatval("1234.567abc") = <?php

$str = "1234.567abc";
echo floatval($str);

?>
--EXPECT--
floatval("1234.567abc") = 1234.567