XWare Поиск по информационным ресурсам МГУ English Russian
       
       Точная форма слов   О проекте   Сайты   Помощь
Поиск по:old.master.cmc.msu.ru   - Поискать по всем серверам
На этой странице приведены все страницы сервера old.master.cmc.msu.ru ,которые мы индексируем. Показаны документы 441 - 460 из 3519.

В начало ] Пред. | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | След.В конец ]

Упорядочить по: URL  |  дате изменения
441. Extending PHP 4.0
PHP Manual . ... As soon as this point is reached, it's time to touch the heart of PHP and take a look at its core, the C code that makes PHP go. Note: This chapter only deals with the extension of PHP 4.0. Although a lot of the information is relevant to PHP 3.0, none of the examples are designed to be compatible with PHP 3.0. We believe that, if someone makes the effort to extend PHP, PHP 4.0 will be installed anyway. ... Table of Contents . ... Creating Extensions . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.html -- 6.1 Кб -- 03.02.2002
Похожие документы

442. API Macros
... A set of macros was introduced into Zend's API that simplify access to zval containers (see Table 9.19). ... API Macros for Accessing zval Containers . Macro . ... Z_LVAL(zval) . zval).value.lval . Z_DVAL(zval) . zval).value.dval . Z_STRVAL(zval) . zval).value.str.val . Z_STRLEN(zval) . zval).value.str.len . Z_ARRVAL(zval) . zval).value.ht . ... Reference: Some Configuration Macros . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.api-macros.html -- 6.4 Кб -- 03.02.2002
Похожие документы

443. Reference: Some Configuration Macros
... PHP defines a set of macros that can be used in this process, the most useful of which are described in Table 9.18. ... Prints a "checking <message>" text during configure . ... Adds #define to php_config.h with the value of value and a comment that says description (this is useful for conditional compilation of your module). ... AC_ARG_WITH(modulename,description,unconditionaltest,conditionaltest) . Quite a powerful macro, adding the module with description to the configure --help output. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.configuration-macros.html -- 7.2 Кб -- 03.02.2002
Похожие документы

444. Where to Go from Here
PHP Manual . ... You've learned a lot about PHP. You now know how to create dynamic loadable modules and statically linked extensions. You've learned how PHP and Zend deal with internal storage of variables and how you can create and access these variables. You know quite a set of tool functions that do a lot of routine tasks such as printing informational texts, automatically introducing variables to the symbol table, and so on. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.where-to-go.html -- 4.0 Кб -- 03.02.2002
Похожие документы

445. Calling User Functions
... You can call user functions from your own modules, which is very handy when implementing callbacks; for example, for array walking, searching, or simply for event-based programs. ... It requires a hash value for the function table you want to access, a pointer to an object (if you want to call a method), the function name, return value, number of arguments, argument array, and a flag indicating whether you want to perform zval separation. ... The function name is specified in a zval container. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.calling-user-functions.html -- 7.5 Кб -- 03.02.2002
Похожие документы

446. Initialization File Support
... PHP 4 features a redesigned initialization file support. It's now possible to specify default initialization entries directly in your code, read and change these values at runtime, and create message handlers for change notifications. ... Your message handler will have access to a structure that contains the full entry, the new value, its length, and three optional arguments. ... Returns the current value of entry name as integer (long). ... Returns the current value of entry name as string. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.ini-file-support.html -- 10.1 Кб -- 03.02.2002
Похожие документы

447. Printing Information
PHP Manual . Prev . ... Including Output in phpinfo() . Execution Information . Often it's necessary to print messages to the output stream from your module, just as print() would be used within a script. PHP offers functions for most generic tasks, such as printing warning messages, generating output for phpinfo() , and so on. ... Examples of these functions can be found on the CD-ROM. zend_printf() works like the standard printf() , except that it prints to Zend's output stream. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.printing.html -- 4.2 Кб -- 03.02.2002
Похожие документы

448. Execution Information
... You can also print execution information, such as the current file being executed. The name of the function currently being executed can be retrieved using the function get_active_function_name() . ... Printing execution information. zend_printf("The name of the current function is %s<br>", get_active_function_name()); zend_printf("The file currently executed is %s<br>", zend_get_executed_filename(ELS_C)); zend_printf("The current line being executed is %i<br>", zend_get_executed_lineno(ELS_C)); . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.printing.execution.html -- 5.0 Кб -- 03.02.2002
Похожие документы

449. Startup and Shutdown Functions
PHP Manual . ... Startup and shutdown functions can be used for one-time initialization and deinitialization of your modules. As discussed earlier in this chapter (see the description of the Zend module descriptor block), there are global, module, and request startup and shutdown events. The global startup functions are called once when PHP starts up; similarly, the global shutdown functions are called once when PHP shuts down. ... Calling User Functions ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.startup-and-shutdown.html -- 4.0 Кб -- 03.02.2002
Похожие документы

450. Including Output in phpinfo
PHP Manual . ... After creating a real module, you'll want to show information about the module in phpinfo() (in addition to the module name, which appears in the module list by default). PHP allows you to create your own section in the phpinfo() output with the ZEND_MINFO() function. ... PHP automatically prints a section in phpinfo() for you if you specify the ZEND_MINFO function, including the module name in the heading. ... Listing 9.14 shows a source example; Figure 9.9 shows the output. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.printing.phpinfo.html -- 5.1 Кб -- 03.02.2002
Похожие документы

451. zend_error
... zend_error() can be used to generate error messages. This function accepts two arguments; the first is the error type (see zend_errors.h ), and the second is the error message. zend_error(E_WARNING, "This function has been called with empty arguments"); Table 9.16 shows a list of possible values (see Figure 9.8). ... Error . ... Signals an error and terminates execution of the script immediately. ... Execution continues. ... Internal error by the core; shouldn't be used by user-written modules. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.printing.zend-error.html -- 5.8 Кб -- 03.02.2002
Похожие документы

452. Returning Values
... Returning values from your functions to PHP was described briefly in an earlier section; this section gives the details. ... To make returning values from functions easier and to prevent hassles with accessing the internal structures of the zval container, a set of predefined macros is available (as usual). ... Sets the return value to the specified Boolean value. ... Sets the return value to the specified string and duplicates it to Zend internal memory if desired (see also RETURN_STRING ). ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.returning.html -- 9.8 Кб -- 03.02.2002
Похожие документы

453. Macros for Automatic Global Variable Creation
... Creating Variables . ... In addition to the macros discussed earlier, a few macros allow easy creation of simple global variables. ... This is somewhat bad practice, but Table 9.12 describes macros that do exactly this task. They don't need any zval allocation; you simply have to supply a variable name and value. ... Table 9.12. Macros for Global Variable Creation . Note: All macros in Table 9.12 create a global variable of the name "name" with the value "value". ... Creates a new string. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.global.html -- 4.9 Кб -- 03.02.2002
Похожие документы

454. Duplicating Variable Contents: The Copy Constructor
... Sooner or later, you may need to assign the contents of one zval container to another. ... To copy this complex kind of data, use the copy constructor . ... Now, in order to effectively duplicate its contents, the copy constructor is called. ... If you omit the call to the copy constructor in this example, both parameter and return_value would point to the same internal data, meaning that return_value would be an illegal additional reference to the same data structures. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.copy-constructor.html -- 6.7 Кб -- 03.02.2002
Похожие документы

455. Creating Variables
... Table of Contents . ... Macros for Automatic Global Variable Creation . ... To create new variables that can be seen "from the outside" by the executing script, you need to allocate a new zval container, fill this container with meaningful values, and then introduce it to Zend's internal symbol table. ... ZEND_SET_SYMBOL takes care of introducing the new variable to Zend's symbol table. ... To create new variables in the global scope, use the same method but refer to another symbol table: . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.html -- 10.3 Кб -- 03.02.2002
Похожие документы

456. Creating Constants
... Zend supports the creation of true constants (as opposed to regular variables). ... To create your own constants, you can use the macros in Table 9.13. All the macros create a constant with the specified name and value. You can also specify flags for each constant: . ... register a new constant of type "long" REGISTER_LONG_CONSTANT("NEW_MEANINGFUL_CONSTANT", 324, CONST_CS | ... Macro . ... REGISTER_STRING_CONSTANT(name, value, flags) . REGISTER_MAIN_STRING_CONSTANT(name, value, flags) . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.constant.html -- 6.5 Кб -- 03.02.2002
Похожие документы

457. Arrays
... Adds an unset element. add_assoc_bool(zval *array, char *key, int b);() . ... Adding an element to an associative array. zval *new_array, *new_element; char *key = "element_key"; MAKE_STD_ZVAL(new_array); MAKE_STD_ZVAL(new_element); if(array_init(new_array) == FAILURE) { // do error handling here } ZVAL_LONG(new_element, 10); if(zend_hash_update(new_array->value.ht, key, strlen(key) + 1, (void *)&new_element, sizeof(zval *), NULL) == FAILURE) { // do error handling here } . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.array.html -- 14.1 Кб -- 03.02.2002
Похожие документы

458. Resources
... Resources are a special kind of data type in PHP. ... Note: In fact, a resource can be a pointer to anything you need to handle in your functions (e.g. pointer to a structure) and the user only has to pass a single resource variable to your function. To create a new resource you need to register a resource destruction handler for it. ... Registering your resource handler within Zend returns you the resource type handle for that resource. ... Your resource pointer you want to store. rsrc_type . ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.resource.html -- 17.6 Кб -- 03.02.2002
Похожие документы

459. Objects
... Since objects can be converted to arrays (and vice versa), you might have already guessed that they have a lot of similarities to arrays in PHP. Objects are maintained with the same hash functions, but there's a different API for creating them. ... SUCCESS) { // do error handling here } You can use the functions described in Table 9.11 to add members to your object. ... Note: All functions in Table 9.11 work on the object "object" with the key "key". ... Adds a zval container to the object. ...
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.object.html -- 6.3 Кб -- 03.02.2002
Похожие документы

460. Booleans
. PHP Manual . Prev . Chapter 33. Creating Variables . Next . Booleans are created just like longs, but have the type IS_BOOL . Allowed values in lval are 0 and 1 : . zval *new_bool; MAKE_STD_ZVAL(new_bool); new_bool->type = IS_BOOL; new_bool->value.lval = 1; The corresponding macros for this type are ZVAL_BOOL (allowing specification of the value) as well as ZVAL_TRUE and ZVAL_FALSE (which explicitly set the value to TRUE and FALSE , respectively). Prev . Home . Next . Strings . Up . Arrays
[ Сохраненная копия ]  Ссылки http://old.master.cmc.msu.ru/php/zend.variables.boolean.html -- 3.6 Кб -- 03.02.2002
Похожие документы

В начало ] Пред. | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | След.В конец ]

Rambler's Top100 RFBR Яндекс цитирования