Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FLOATVAL means native
  • Loading branch information
bschmalhofer committed Mar 24, 2009
1 parent 39013da commit 77600a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc/phpstring.pmc
Expand Up @@ -149,7 +149,7 @@ Return the string 'string'.

if (s1 != s2 && (*s2 == '\0' || isspace((unsigned char)*s2))) {
retval = pmc_new(INTERP, dynpmc_PhpFloat);
VTABLE_set_number(INTERP, retval, d);
VTABLE_set_number_native(INTERP, retval, d);
}
else {
retval = pmc_new(INTERP, dynpmc_PhpInteger);
Expand Down

0 comments on commit 77600a6

Please sign in to comment.