xref: /PHP-7.3/ext/dom/string_extend.c (revision 8d3f8ca1)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 7                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2018 The PHP Group                                |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP license,      |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.php.net/license/3_01.txt                                  |
11    | If you did not receive a copy of the PHP license and are unable to   |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@php.net so we can mail you a copy immediately.               |
14    +----------------------------------------------------------------------+
15    | Authors: Christian Stocker <chregu@php.net>                          |
16    |          Rob Richards <rrichards@php.net>                            |
17    +----------------------------------------------------------------------+
18 */
19 
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23 
24 #include "php.h"
25 #if HAVE_LIBXML && HAVE_DOM
26 #include "php_dom.h"
27 
28 /* {{{ arginfo */
29 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset16, 0, 0, 1)
30 	ZEND_ARG_INFO(0, offset32)
31 ZEND_END_ARG_INFO();
32 
33 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset32, 0, 0, 1)
34 	ZEND_ARG_INFO(0, offset16)
35 ZEND_END_ARG_INFO();
36 /* }}} */
37 
38 /*
39 * class domstringextend
40 *
41 * URL: https://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend
42 * Since:
43 */
44 
45 const zend_function_entry php_dom_string_extend_class_functions[] = {
46 	PHP_FALIAS(findOffset16, dom_string_extend_find_offset16, arginfo_dom_string_extend_find_offset16)
47 	PHP_FALIAS(findOffset32, dom_string_extend_find_offset32, arginfo_dom_string_extend_find_offset32)
48 	PHP_FE_END
49 };
50 
51 /* {{{ attribute protos, not implemented yet */
52 
53 /* {{{ proto int dom_string_extend_find_offset16(int offset32);
54 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset16
55 Since:
56 */
PHP_FUNCTION(dom_string_extend_find_offset16)57 PHP_FUNCTION(dom_string_extend_find_offset16)
58 {
59  DOM_NOT_IMPLEMENTED();
60 }
61 /* }}} end dom_string_extend_find_offset16 */
62 
63 /* {{{ proto int dom_string_extend_find_offset32(int offset16);
64 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset32
65 Since:
66 */
PHP_FUNCTION(dom_string_extend_find_offset32)67 PHP_FUNCTION(dom_string_extend_find_offset32)
68 {
69  DOM_NOT_IMPLEMENTED();
70 }
71 /* }}} end dom_string_extend_find_offset32 */
72 
73 /* }}} */
74 
75 #endif
76 
77 /*
78  * Local variables:
79  * tab-width: 4
80  * c-basic-offset: 4
81  * End:
82  * vim600: noet sw=4 ts=4 fdm=marker
83  * vim<600: noet sw=4 ts=4
84  */
85