Move io_tests to folly/io/async/test
[hiphop-php.git] / hphp / runtime / base / zend-functions.h
blob67aa5315cc09437d16bb154b2b32865364f35321
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 | Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
7 +----------------------------------------------------------------------+
8 | This source file is subject to version 2.00 of the Zend license, |
9 | that is bundled with this package in the file LICENSE, and is |
10 | available through the world-wide-web at the following url: |
11 | http://www.zend.com/license/2_00.txt. |
12 | If you did not receive a copy of the Zend license and are unable to |
13 | obtain it through the world-wide-web, please send a note to |
14 | license@zend.com so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+
18 #pragma once
20 #include <cstdint>
22 #include "hphp/runtime/base/datatype.h"
24 namespace HPHP {
25 ///////////////////////////////////////////////////////////////////////////////
26 // zend logic: These are not string utilities, but zend's special language
27 // semantics.
29 /**
30 * Testing whether a string is numeric or not.
32 DataType is_numeric_string(const char* str, int length, int64_t* lval,
33 double* dval, int allow_errors = 0,
34 int* overflow_info = nullptr);
36 ///////////////////////////////////////////////////////////////////////////////