/php-src/Zend/ |
H A D | zend_extensions.c | 153 zend_extension extension; in zend_register_extension() local 155 extension = *new_extension; in zend_register_extension() 156 extension.handle = handle; in zend_register_extension() 162 if (extension.op_array_ctor) { in zend_register_extension() 165 if (extension.op_array_dtor) { in zend_register_extension() 185 if (extension->shutdown) { in zend_extension_shutdown() 186 extension->shutdown(extension); in zend_extension_shutdown() 195 if (extension->startup) { in zend_extension_startup() 196 if (extension->startup(extension)!=SUCCESS) { in zend_extension_startup() 233 DL_UNLOAD(extension->handle); in zend_extension_dtor() [all …]
|
/php-src/sapi/cli/tests/ |
H A D | ext_loading.phpt | 13 function loadZendExt($extension) { 17 '-dzend_extension=' . $extension, 24 echo "Only extension name:\n"; 27 echo "Name with file extension:\n"; 35 echo "Unknown extension name (unknown):\n"; 38 echo "Name with file extension (unknown):\n"; 48 Only extension name: 52 Name with file extension: 60 Unknown extension name (unknown): 63 Warning: Failed loading Zend extension 'unknown_ext' (tried: %s) in Unknown on line 0 [all …]
|
/php-src/docs-old/ |
H A D | self-contained-extensions.md | 1 # How to create a self-contained PHP extension 4 To create such an extension, two things are required: 23 ## Converting an existing extension 35 extension: 62 ## Defining the new extension 64 Our demo extension is called "foobar". 112 ## Creating the self-contained extension 128 ## Installing a self-contained extension 130 An extension can be installed by running: 149 building the extension. [all …]
|
/php-src/scripts/dev/ |
H A D | find_tested.php | 41 foreach($extensions as $extension) { 42 echo "$extension\n"; 132 $extension = $reflectionFunction->getExtension(); 133 if ($extension != null) { 134 $function_record[EXTENSION_NAME] = $extension->getName(); 155 $extension = $reflectionClass->getExtension(); 156 if ($extension != null) { 157 $new_method_record[EXTENSION_NAME] = $extension->getName();
|
/php-src/ext/spl/tests/ |
H A D | SplFileInfo_getExtension_basic-win32.phpt | 10 $exts = array('.txt', '.extension', '..', ''); 20 $exts = array('.txt', '.extension', '..', ''); 28 string(9) "extension" 29 string(9) "extension"
|
H A D | SplFileInfo_getExtension_basic.phpt | 10 $exts = array('.txt', '.extension', '..', '.', ''); 20 $exts = array('.txt', '.extension', '..', '.', ''); 28 string(9) "extension" 29 string(9) "extension"
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionExtension_getClassNames_variation1.phpt | 2 ReflectionExtension::getClassNames() method on an extension with no classes 9 $extension = new ReflectionExtension('ctype'); 10 var_dump($extension->getClassNames());
|
/php-src/ext/dl_test/ |
H A D | config.m4 | 2 [whether to enable dl-test extension], 4 [Enable dl_test extension])]) 7 dnl Always build as shared extension.
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_phpinfo_basic.phpt | 2 Test finfo extension : loading into phpinfo() 8 echo "*** Testing finfo extension : loading info phpinfo() ***\n"; 18 *** Testing finfo extension : loading info phpinfo() ***
|
/php-src/ext/standard/tests/file/ |
H A D | pathinfo_basic2.phpt | 59 ["extension"]=> 74 ["extension"]=> 89 ["extension"]=> 104 ["extension"]=> 119 ["extension"]=> 134 ["extension"]=> 149 ["extension"]=> 177 ["extension"]=> 192 ["extension"]=> 220 ["extension"]=> [all …]
|
H A D | pathinfo_basic2-win32.phpt | 72 ["extension"]=> 87 ["extension"]=> 102 ["extension"]=> 117 ["extension"]=> 132 ["extension"]=> 147 ["extension"]=> 175 ["extension"]=> 190 ["extension"]=> 218 ["extension"]=> 233 ["extension"]=> [all …]
|
H A D | pathinfo_basic.phpt | 76 ["extension"]=> 91 ["extension"]=> 106 ["extension"]=> 121 ["extension"]=> 136 ["extension"]=> 151 ["extension"]=> 166 ["extension"]=> 181 ["extension"]=> 196 ["extension"]=> 211 ["extension"]=> [all …]
|
/php-src/ext/sodium/tests/ |
H A D | installed.phpt | 7 echo "sodium extension is available"; 9 you can add regression tests for your extension here 18 sodium extension is available
|
/php-src/ext/dl_test/tests/ |
H A D | skip.inc | 3 // Check that the dl_test extension is built. We don't use the --EXTENSIONS-- 4 // section because we want to load the extension with dl(). 13 die(sprintf('skip dl_test extension is not built (tried %s)', $path));
|
/php-src/ext/sqlite3/ |
H A D | config0.m4 | 2 [whether to enable the SQLite3 extension], 10 [Define to 1 if the PHP extension 'sqlite3' is available.]) 28 SQLITE_OMIT_LOAD_EXTENSION and does not have the extension support with 30 extension. See https://www.sqlite.org/compile.html.])],
|
/php-src/ext/standard/tests/strings/ |
H A D | pathinfo.phpt | 40 ["extension"]=> 50 ["extension"]=> 68 ["extension"]=> 78 ["extension"]=> 88 ["extension"]=>
|
/php-src/ext/tidy/tests/ |
H A D | 001.phpt | 7 echo "tidy extension is available"; 10 tidy extension is available
|
/php-src/ext/zip/tests/ |
H A D | 001.phpt | 7 echo "zip extension is available"; 10 zip extension is available
|
/php-src/docs/source/introduction/ides/ |
H A D | visual-studio-code.rst | 22 C/C++ extension 25 The `C/C++ extension`_ provides most of the features we'll need for php-src development. You can 27 extension will mostly work out of the box, but it is advisable to use the ``compile_commands.json`` 29 provides the extension with the necessary information about include paths and other compiler flags. 31 .. _c/c++ extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools 45 To tell the C/C++ extension to use the ``compile_commands.json`` file, add the following to your 58 The C/C++ extension usually works well enough. Some people find that ``clangd`` works better. 61 conjunction with the C/C++ extension. For the two extensions not to clash, add the following to your 71 <https://clangd.llvm.org/installation.html>`__, and then install the `clangd extension`_. 72 Alternatively, you can let the extension install ``clangd`` for you. ``clangd`` requires a [all …]
|
/php-src/ext/skeleton/tests/ |
H A D | 001.phpt | 7 echo 'The extension "%EXTNAME%" is available'; 10 The extension "%EXTNAME%" is available
|
/php-src/ext/soap/tests/bugs/ |
H A D | gh11941_errors.phpt | 7 // We explicitly want to test with the soap extension enabled and session extension disabled 8 if (extension_loaded("session")) die("skip this test must run with the session extension disabled");
|
/php-src/ext/soap/tests/schema/ |
H A D | schema043.phpt | 12 <extension base="int"> 14 </extension> 19 <extension base="tns:testType2"> 21 </extension>
|
H A D | schema046.phpt | 12 <extension base="int"> 14 </extension> 19 <extension base="tns:testType2"> 21 </extension>
|
/php-src/ext/ffi/tests/ |
H A D | 001.phpt | 9 echo 'The extension "FFI" is available'; 12 The extension "FFI" is available
|
/php-src/ext/skeleton/ |
H A D | config.m4.in | 1 dnl Autotools config.m4 for PHP extension %EXTNAME% 6 dnl If extension references and depends on an external library package, use 21 dnl This section is executed when extension is enabled with one of the above 25 dnl Use and adjust this code block if extension depends on external library 37 dnl Add library compilation and linker flags to extension. 55 dnl Or use and adjust this code block if extension depends on external library 96 dnl Add linked libraries flags for shared extension to the generated Makefile. 99 dnl Define a preprocessor macro to indicate that this PHP extension can 102 [Define to 1 if the PHP extension '%EXTNAME%' is available.]) 104 dnl Configure extension sources and compilation flags.
|