Skip to content
Browse files

Add __PHPStdLib to some `*val()` functions.

Summary: These functions are deprecated in favor of their cast syntax counterparts.

Reviewed By: KendallHopkins

Differential Revision: D6536118

fbshipit-source-id: a6cbe54ddd7ab97ff4e346c666cba28ae5ba27f5
  • Loading branch information
kmeht authored and hhvm-bot committed Dec 11, 2017
1 parent ef1d339 commit ab2bedae53eb0669c9376fecd79da789f73cd6ac
Showing with 3 additions and 0 deletions.
  1. +3 −0 hphp/hack/hhi/functions.hhi
@@ -38,9 +38,12 @@ function ord(string $string): int;
function strip_tags(string $str, string $allowable_tags = ''): string;

function intval($v, $base = 10): int;
function doubleval($v): float;
function floatval($v): float;
function strval($v): string;
function boolval($v): bool;

function get_class_constants($class_name): array;

0 comments on commit ab2beda

Please sign in to comment.
You can’t perform that action at this time.