text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
PHP and Apache have to be configured with EXTRA_LIBS=-lthread.
|
libpthread ããã®äžèЧã«ãªãå ŽåãApacheãåã€ã³ã¹ããŒã«ããå¿
èŠ ããããŸãã
|
This extension has no configuration directives defined in php.ini.
|
UnixWareã®ãããªããã€ãã®ã·ã¹ãã ã§ã¯ãlibpthreadã®ä»£ããã« libthreadã䜿çšãããŠããŸããPHPãšApacheã¯ã EXTRA_LIBS=-lthreadãconfigureã«æå®ããå¿
èŠããããŸãã
|
Example 1.
|
ãªãã·ã§ã³ --with-oci8[=DIR] ãæå® ããŠPHPãã³ã³ãã€ã«ããå¿
èŠããããŸãããã ããDIRã®ããã©ã«ãã¯ã ç°å¢å€æ°ORACLE_HOMEã®å€ã§ãã
|
Example 2.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Prev
|
ã³ãã³ãã©ã€ã³ã§å®è¡ããã®ãšåæ§ãªææ³ã«ãããã¹ãã¢ãããã·ãŒãžã£ ã«ç°¡åã«ã¢ã¯ã»ã¹å¯èœã§ãã
|
deaggregate
|
äŸ 2ã¹ãã¢ãããã·ãŒãžã£ã®äœ¿çšæ³
|
Instead of maintaining multiple database drivers that were all nearly identical, these drivers have been unified into a single set of ODBC functions.
|
éåžžã®ODBCãµããŒãã«å ããŠãPHPã®Unified ODBC颿°ã§ã¯ãåã
ã®APIã å®è£
ããããã«ODBC APIã®ã»ãã³ãã£ãã¯ã¹ãåçšããè€æ°ã®ããŒã¿ã㌠ã¹ã«ã¢ã¯ã»ã¹ããããšãå¯èœã§ããã»ãšãã©åãè€æ°ã®ããŒã¿ããŒã¹ãã© ã€ããç¶æç®¡çãã代ããã«ããããã®ãã©ã€ãã¯åäžã®ODBC颿°ã»ããã« çµ±åãããŠããŸãã
|
Adabas D, IBM DB2, iODBC, Solid, and Sybase SQL Anywhere.
|
以äžã®ããŒã¿ããŒã¹ãUnified ODBCã§ãµããŒããããŠããŸãã Adabas D, IBM DB2, iODBC, Solid, Sybase SQL Anywhere
|
Building PHP with iODBC support enables you to use any ODBC-compliant drivers with your PHP applications. iODBC is maintained by OpenLink Software.
|
ãµããŒããããããŒã¿ããŒã¹ã«ã¢ã¯ã»ã¹ããããã«ã¯ã æå®ã®ã©ã€ãã©ãªãã€ã³ã¹ããŒã«ãããŠããå¿
èŠããããŸãã
|
To access any of the supported databases you need to have the required libraries installed.
|
è©³çŽ°ãªæ
å ±ãšãããã®ããŒã¿ããŒã¹ã«é¢ããŠPHPã®èšå®ã«ã€ããŠã¯ã ããŒã¿ããŒã¹ã€ã³ã¹ã㌠ã«ãªãã·ã§ã³ ã®ç« ãåç
§ããŠäžããã
|
The windows version of PHP The windows version of PHP has built in support for this extension.
|
Windowsçã® PHP ã«ã¯ãã®æ¡åŒµã¢ãžã¥ãŒã«ã®ãµããŒããçµã¿èŸŒãŸããŠããŸãããããã®é¢æ°ã䜿çšããããã«æ¡åŒµã¢ãžã¥ãŒã«ã远å ã§ããŒãããå¿
èŠã¯ãããŸããã
|
The behaviour of these functions is affected by settings in php.ini.
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
Unified ODBC Configuration Options
|
衚 1Unified ODBCèšå®ãªãã·ã§ã³
|
odbc.default_user *
|
泚æ *ããŒã¯ãã€ããŠãããšã³ããªã¯æªå®è£
ã§ãã
|
odbc.allow_persistent
|
以äžã«èšå®ãã£ã¬ã¯ãã£ãã«é¢ããç°¡åãªèª¬æã瀺ããŸãã
|
odbc.check_persistent
|
odbc_connect() ãŸã㯠odbc_pconnect() ã§ODBCããŒã¿ãœãŒãœãæå®ãã㪠ãå Žåã«äœ¿çšãããODBCããŒã¿ãœãŒã¹ã
|
odbc.max_persistent
|
odbc_connect() ãŸã㯠odbc_pconnect() ã§ååãæå®ãããªãå Žå ã«äœ¿çšãããååã
|
odbc.defaultlrl
|
odbc_connect() ãŸã㯠odbc_pconnect() ã§ãã¹ã¯ãŒããæå®ãããªãå Žå ã«äœ¿çšããããã¹ã¯ãŒãã
|
odbc.defaultbinmode
|
æç¶çODBCæ¥ç¶ãèš±å¯ãããã©ããã
|
Here is a short explanation of the configuration directives.
|
åå©çšããåã«æ¥ç¶ãæå¹ã§ããããšã確èªããŸãã
|
User name to use if none is specified in odbc_connect() or odbc_pconnect().
|
ããã»ã¹æ¯ã®æç¶çODBCæ¥ç¶ã®æå€§æ°ã
|
Whether to allow persistent ODBC connections.
|
ããã»ã¹æ¯ã®æç¶çæ¥ç¶ãå«ãODBCæ¥ç¶ã®æå€§æ°ã
|
The maximum number of persistent ODBC connections per process.
|
LONGãã£ãŒã«ãã®åŠçã倿°ã«è¿ããããã€ãæ°ãæå®ããŸãã
|
Handling of LONG fields.
|
ãã€ããªããŒã¿ã®åŠçã¢ãŒãã
|
Handling of binary data.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
OpenSSL offers many features that this module currently doesn 't support.
|
ãã®ã¢ãžã¥ãŒã«ã¯ã眲åã®çæããã³èªèšŒããããŠãããŒã¿ã®ã·ãŒã« (æå·å)ããã³ãªãŒãã³(埩å·å)ãè¡ãããã«ã OpenSSL ã®é¢æ°ã䜿çšããŸãã OpenSSL ã¯å€ãã®æ©èœãæäŸããŸããããããã¯ãŸã ãã®ã¢ãžã¥ãŒã«ã§ã¯ ãµããŒããããŠããŸããããããã®ããã€ãã¯å°æ¥çã«è¿œå ãããå¯èœ æ§ããããŸãã
|
If you are using PHP 4.2.0 or later and are missing the file, you can obtain it from the OpenSSL home page or by downloading the PHP 4.3.0 release and using the configuration file from there.
|
OpenSSL颿°ã䜿çšããããã«ã¯ã OpenSSL ããã±ãŒãžãã€ã³ã¹ããŒã«ãã ãŠããããšãèŠããŸãã ãã®ã¢ãžã¥ãŒã«ã§ã¯ãPHP 4.0.4pl1 ã¯ãOpenSSL = 0.9.6 ãå¿
èŠãšã㟠ãããPHP-4.0.5以éã§ã¯ãOpenSSL = 0.9.5 ã§ãåäœããŸãã
|
the OPENSSL_CONF environmental variable, if set, will be used as the path (including filename) of the configuration file.
|
PHPã®OpenSSLãµããŒãã䜿çšããã«ã¯ã --with-openssl[=DIR] ãæå®ããŠPHPãã³ã³ã ã€ã«ããå¿
èŠããããŸãã
|
The file openssl.cnf will be assumed to be found in the default certificate area, as configured at the time that the openssl DLL was compiled.
|
Win32ãŠãŒã¶ãžã®æ³šæ ãã®ã¢ãžã¥ãŒã«ãWindowsç°å¢ã§äœ¿çšããã«ã¯ãPHP/Win32ãã€ããªããã±ãŒ ãžã®DLLãã©ã«ããã libeay32.dll ã䜿çšãã Windowsãã·ã³ã®SYSTEM32ãã©ã«ã(äŸ: C:\WINNT\SYSTEM32ãŸã㯠C:\WINDOWS\SYSTEM32)ã«ã³ããŒããå¿
èŠããããŸãã
|
Note that it is possible to override the default path from the script using the configargs of the functions that require a configuration file.
|
å ããŠããŒçæããã³ãµã€ã³èªèšŒé¢æ°ã䜿çšããèšç»ãããå Žåã ã·ã¹ãã ã«æå¹ãª openssl.cnf ãã€ã³ã¹ããŒã«ãã å¿
èŠããããŸããPHP 4.3.0以éãWin32ãã€ããªé
åžçã« openssl ã®ãµã³ãã«èšå®ãã¡ã€ã«ãå«ãŸããŠããŸãã PHP 4.2.0以åã䜿çšããå Žåããã®ãã¡ã€ã«ããªãå Žåã OpenSSLã®ããŒã ããŒãž ããå
¥æã ãããPHP 4.3.0ã®ãªãªãŒã¹çãããŠã³ããŒããããããã«å«ãŸããèšå®ãã¡ ã€ã«ã䜿çšããããšãã§ããŸãã
|
Quite a few of the openssl functions require a key or a certificate parameter.
|
Win32ãŠãŒã¶ãžã®æ³šæ PHPã¯ã 以äžã®ããžãã¯ã«ãã openssl.cnf ãæ¢ããŸãã
|
Later versions may use one of the following methods:
|
ç°å¢å€æ° OPENSSL_CONF ãèšå®ãããå Žåã èšå®ãã¡ã€ã«ã®(ãã¡ã€ã«åãå«ã)ãã¹ãšããŠäœ¿çšãããŸãã
|
A string containing the content of a certificate, PEM encoded
|
ç°å¢å€æ° SSLEAY_CONF ãèšå®ãããå Žåã èšå®ãã¡ã€ã«ã®(ãã¡ã€ã«åãå«ã)ãã¹ãšããŠäœ¿çšãããŸãã
|
A string containing the content of a certificate / key, PEM encoded
|
ãã¡ã€ã« openssl.cnf ã¯ãããã©ã«ãã®èªèšŒãšãª ã¢ã«ããããšãä»®å®ãããopenssl DLLãã³ã³ãã€ã«ãããæéã§èšå® ãããŸããéåžžãããã©ã«ãã®ãã¡ã€ã«åã c:\usr\local\ssl\openssl.cnf ã§ããããšã æå³ããŸãã
|
When calling a function that will verify a signature / certificate, the cainfo parameter is an array containing file and directory names that specify the locations of trusted CA files.
|
ã€ã³ã¹ããŒã«æã«ãèšå®ãã¡ã€ã«ã c:\usr\local\ssl\openssl.cnf ãŸã㯠ä»ã®å Žæã«ã€ã³ã¹ããŒã«ãã(äŸãã°ä»®æ³ãã¹ãæ¯ã«)ç°å¢å€æ°ã«èšå®ãã¡ ã€ã«ã®å Žæãæå®ããããéžã¶å¿
èŠããããŸãã èšå®ãã¡ã€ã«ãå¿
èŠãšãã颿°ã® configargs ã«ã ããããã©ã«ãã®ãã¹ãäžæžãããããšãå¯èœã§ããããšã«æ³šæããŠäžããã
|
If a directory is specified, then it must be a correctly formed hashed directory as the openssl command would use.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
The S / MIME functions make use of flags which are specified using a bitfield which can include one or more of the following values:
|
OpenSSL颿°ã®ãã¡ããå°æ°ã®ã¿ãããŒãŸãã¯èšŒææžãã©ã¡ãŒã¿ãå¿
èŠãš ããŸããPHP 4.0.5 ãã以åã§ã¯ãopenssl_get_xxx 颿°ã®ã©ããã«ã ãè¿ãããããŒãŸãã¯èšŒææžãªãœãŒã¹ã䜿çšããå¿
èŠããããŸãããã ãããåŸã®ããŒãžã§ã³ã§ã¯ãæ¬¡ã®æ¹æ³ã®ã©ããã䜿çšããããšãå¯èœãš ãªãäºå®ã§ãã
|
PKCS7 CONSTANTS
|
èšŒææž
|
If decrypting or verifying, it strips those headers from the output - if the decrypted or verified message is not of MIME type text / plain then an error will occur.
|
openssl_x509_read() ããè¿ããã X.509㪠ãœãŒã¹
|
normally the input message is converted to "canonical" format which is effectively using CR and LF as end of line: as required by the S / MIME specification.
|
file://path/to/cert.pem 圢åŒã®æååã ãã®ãã¡ã€ã«ã¯ãPEMãšã³ã³ãŒãã®èšŒææžã§ããå¿
èŠããããŸãã
|
This is useful when handling binary data which may not be in MIME format.
|
PEMãšã³ã³ãŒããããèšŒææžã®å
容ãå«ãæååã
|
when verifying a message, certificates (if any) included in the message are normally searched for the signing certificate.
|
å
¬é/ç§å¯ããŒ
|
The supplied certificates can still be used as untrusted CAs however.
|
openssl_get_publickey() ãŸã㯠openssl_get_privatekey() ããè¿ãããã㌠ãªãœãŒã¹
|
do not verify the signers certificate of a signed message.
|
å
¬éããŒã®ã¿: X.509ãªãœãŒã¹
|
do not chain verification of signers certificates: that is don 't use the certificates in the signed message as untrusted CAs.
|
file://path/to/file.pem ãã©ãŒãããã æããæååããã®ãã¡ã€ã«ã«ã¯ãPEMãšã³ã³ãŒããããèšŒææž/ ç§å¯ããŒãå«ãŸããŠããå¿
èŠããããŸãã(äž¡æ¹ãå«ãããšãå¯èœ ã§ãã)
|
when signing a message the signer 's certificate is normally included - with this option it is excluded.
|
PEMãšã³ã³ãŒããããèšŒææž/ããŒã®å
容ãå«ãæåå
|
PKCS7_NOATTR
|
ç§å¯ããŒã«ã€ããŠã¯ã array($key, $passphrase) ãšããæ§æã䜿çšããããšãå¯èœã§ãã ãã ãã$key ã¯ãfile:// ãŸãã¯äžèšã®ããã¹ã衚çŸåœ¢åŒãäœ¿çš ããŠæå®ããããŒã$passphrase ã¯ãã®ç§å¯ããŒã«é¢ãããã¹ã¯ãŒ ããæããæååã衚ããŸãã
|
With this option they are not included.
|
ãµã€ã³/èšŒææžãèªèšŒãã颿°ãã³ãŒã«ããéã cainfo ãã©ã¡ãŒã¿ã¯ããã¡ã€ã«ãšèªèšŒæžã¿ã®CA ãã¡ã€ã«ã®å Žæãæå®ãããã¡ã€ã«ãã£ã¬ã¯ããªåãå«ãé
åã§ãã ãã£ã¬ã¯ããªãæå®ãããå Žåã openssl ã³ãã³ã ã䜿çšã§ãããããªæ£ãã圢åŒã«ããã·ã¥ããããã£ã¬ã¯ããªã§ããå¿
èŠããããŸãã
|
This is the default if the flags parameter to openssl_pkcs7_sign() if you do not specify any flags.
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
PKCS7_NOSIGS
|
S/MIME 颿°ã¯ããããã£ãŒã«ãã䜿çšããŠæå®ãããã©ã°ã䜿çšããŸãã ãã®ããããã£ãŒã«ãã«ã¯ã以äžã®å€ãäžã€ä»¥äžå«ãããšãå¯èœã§ãã
|
Note:
|
衚 1PKCS7 CONSTANTS
|
Prev
|
泚æ ãããã®å®æ°ã¯ã4.0.6 ã§è¿œå ãããŸããã
|
This extension adds support for Oracle database server access.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã«ããOracleããŒã¿ããŒã¹ãµãŒããžã®ã¢ã¯ã»ã¹ãå¯ èœãšãªããŸãã OCI8 æ¡åŒµã¢ãžã¥ãŒã« ãåç
§ããŠäžããã
|
You have to compile PHP with the option --with-oracle[ =DIR], where DIR defaults to your environmment variable ORACLE_HOME.
|
ãªãã·ã§ã³ --with-oracle[=DIR] ãæ å®ããŠPHPãã³ã³ãã€ã«ããå¿
èŠããããŸãããã ããDIRã®ããã©ã«ãã¯ã ç°å¢å€æ°ORACLE_HOMEã®å€ã§ãã
|
Prev
|
ãããã®å®æ°ã¯ããã®æ¡åŒµã¢ãžã¥ãŒã«ã§å®çŸ©ãããŠããã ãã®æ¡åŒµã¢ãžã¥ãŒã«ãPHPå
éšã«ã³ã³ãã€ã«ãããŠãããå®è¡æã«åçã«ã㌠ãããããã®ã©ã¡ããã®å Žåã®ã¿äœ¿çšå¯èœã§ãã
|
The Output Control functions do not affect headers sent using header() or setcookie(), only functions such as echo() and data between blocks of PHP code.
|
åºåå¶åŸ¡é¢æ°ã«ãããã¹ã¯ãªããããéä¿¡ãããåºåãå¶åŸ¡ããããšãå¯ èœã«ãªããŸãããã®æ©èœã¯ãè€æ°ã®ç°ãªã£ãå Žé¢ãç¹ã«ã¹ã¯ãªãããã㌠ã¿åºåãéå§ããåŸã«ãããããã©ãŠã¶ã«éä¿¡ããå¿
èŠãããå Žåã«æçš ã§ããåºåå¶åŸ¡é¢æ°ã¯ã header() ãŸã㯠setcookie() ã䜿çšããŠéä¿¡ããããããã«ã¯äœçšã ãã echo() ã®ãããªé¢æ°ãšPHPã³ãŒãã®ãããã¯é ã®ããŒã¿ã«ã®ã¿äœçšããŸãã
|
There is no installation needed to use these functions; they are part of the PHP core.
|
ãããã®é¢æ°ã¯ãæšæºã¢ãžã¥ãŒã«ã®äžéšãš ããŠå©çšå¯èœã§ãããåžžã«äœ¿çšã§ããŸãã
|
Table 1.
|
ãããã®é¢æ°ã¯PHPã³ã¢ã«å«ãŸããããã䜿çšã ãéã«ã€ã³ã¹ããŒã«ã¯äžèŠã§ãã
|
output_handler
|
ãããã®é¢æ°ã®åäœã¯ã php.ini ã®èšå®ã«ããå€åããŸãã
|
implicit_flush
|
衚 1åºåå¶åŸ¡èšå®ãªãã·ã§ã³
|
Here is a short explanation of the configuration directives.
|
以äžã«èšå®ãã£ã¬ã¯ãã£ãã®ç°¡åãªèª¬æã瀺ããŸãã
|
If you wish to limit the size of the buffer to a certain size - you can use a maximum number of bytes instead of 'On', as a value for this directive (e.g., output_buffering=4096).
|
ãã®ãã£ã¬ã¯ãã£ãã'On'ãšèšå®ããããšã«ãããå
šãŠã®ãã¡ã€ã«ã«é¢ ããŠåºåãããã¡ãªã³ã°ãæå¹ã«ããããšãã§ããŸãã ç¹å®ã®å€§ããã«ãããã¡ã®å€§ãããå¶éãããå Žåããã®ãã£ã¬ã¯ã㣠ãã®å€ãšããŠ'On'ã®ä»£ããã«æå€§ãã€ãæ°(äŸ:output_buffering=4096) ã䜿çšããããšãã§ããŸãã
|
For example, if you set output_handler to mb_output_handler(), character encoding will be transparently converted to the specified encoding.
|
ã¹ã¯ãªããã®å
šãŠã®åºåã颿°ã«ãªãã€ã¬ã¯ãããããšãã§ããŸãã äŸãã°ãoutput_handlerã« mb_output_handler() ã æå®ããå Žåãæåãšã³ã³ãŒãã£ã³ã°ã¯ééçã«æå®ãããšã³ã³ãŒã㣠ã³ã°ã«å€æãããŸããåºåãã³ãã©ãæå®ããããšã«ããèªåçã«åºå ãããã¡ãªã³ã°ãonã«ããŸãã
|
FALSE by default.
|
泚æ ob_inconv_handler() ãš mb_output_handler() ã®äž¡æ¹ã§äœ¿çšããããšã¯ã§ ããŸããããŸãã ob_gzhandler() ãš zlib.output_compression ã®äž¡æ¹ã䜿çšããããšã¯ã§ããŸããã
|
This is equivalent to calling the PHP function flush() after each and every call to print() or echo() and each and every HTML block.
|
ããã©ã«ã㯠FALSE ã§ããããã TRUE 倿Žã«ãããšãPHPã ååºåãããã¯ã®åŸã§èªåçã«åºåã¬ã€ã€ããã©ãã·ã¥ããããæå®ã ãŸããããã¯ãå print() ããã³ HTML ãããã¯ã®åŸã§ flush() 颿°ãã³ãŒã«ããããšãšç䟡ã§ãã
|
This value defaults to TRUE when operating under the CLI SAPI.
|
Webç°å¢ã®äžã§ PHP ã䜿çšããŠããæã ãã®ãªãã·ã§ã³ãonã«å€æŽãããšãèããæ§èœäœäžãçããããã éåžžã¯ãããã°ç®çã®ã¿ã«ããããšãæšå¥šãããŸãã CLI SAPI ã®ããšã§å®è¡ãããæããã®å€ã¯ããã©ã«ãã§ TRUE ã« ãªã£ãŠããŸãã
|
This extension has no resource types defined.
|
ob_implicit_flush() ãåç
§ããŠäžããã
|
Example 1.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
?php ob_start(); echo "Hello\n"; setcookie ("cookiename", "cookiedata"); ob_end_flush();?
|
äŸ 1åºåå¶åŸ¡ã®äŸ
|
In the mean time, the call to setcookie() successfully stored a cookie without causing an error. (You can not normally send headers to the browser after data has already been sent.)
|
äžèšã®äŸã§ã¯ã echo() ããã®åºåã¯ã ob_end_flush() ãã³ãŒã«ããããŸã§åºåãããã¡ã« ä¿åãããŸãããã®éã setcookie() ãã³ãŒã«ãããšãšã©ãŒãçºçããããšãª ãã¯ãããŒãä¿åãããŸãã(éåžžãããŒã¿ã®éä¿¡åŸã¯ãã©ãŠã¶ã«ããã ãéä¿¡ããããšã¯ã§ããŸããã)
|
See also header() and setcookie().
|
泚æ PHP 4.1 (ããã³4.2)ãã4.3ã«æŽæ°ããéãåã®ããŒãžã§ã³ã®ãã°ã®ã ãã§ã php.ini ã® implict_flush ã OFF ã«ããå¿
èŠããããŸãããããªããšã ob_start() ã䜿çšããå
šãŠã®åºåã¯ãåºåãæå¶ ããããšãã§ããªããªããŸãã
|
ovrimos_rollback
|
header() ããã³ setcookie() ãåç
§äžããã
|
The class named has to define appropriate methods if it wants to have this functionality: __get(), __set() and __call() respectively for getting / setting a property, or calling a method.
|
ãã®ã¢ãžã¥ãŒã«ã¯ã å®éšç ãªãã®ã§ããããã¯ããããã®é¢æ°ã®åäœã颿°åã¯ããã®ããã¥ã¡ã³ãã«æžãããŠäºé
ãšåæ§ã«åç¥ãªãå°æ¥çãªPHPã®ãªãªãŒã¹ã§å€æŽãããå¯èœæ§ããããŸããæ³šæãåèµ·ãããšãšãã«ããã®ã¢ãžã¥ãŒã«ã¯äœ¿çšè
ã®ãªã¹ã¯ã§äœ¿çšããŠäžããã
|
Inside these handler functions the overloading is disabled so you can access object properties normally.
|
ãããã®é¢æ°ã¯ãæšæºã¢ãžã¥ãŒã«ã®äžéšãš ããŠå©çšå¯èœã§ãããåžžã«äœ¿çšã§ããŸãã
|
Use this extension at your own risk.
|
以äžã®é¢æ°ã䜿çšããã«ã¯ããªãã·ã§ã³ --enable-overload ãæå®ããŠPHPãã³ ã³ãã€ã«å¿
èŠããããŸãããã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ã PHP 4.3.0ã§ã¯ããã©ã«ãã§æå¹ã«ãªã£ãŠããŸãã --disable--overload ã«ãã ãªãŒããŒããŒãã®ãµããŒããç¡å¹ãšããããšãã§ããŸãã
|
In order to use these functions, you must compile PHP with the --enable-overload In order to use these functions, you must compile PHP with the --enable-overload option.
|
Windowsçã® PHP ã«ã¯ãã®æ¡åŒµã¢ãžã¥ãŒã«ã®ãµããŒããçµã¿èŸŒãŸããŠããŸãããããã®é¢æ°ã䜿çšããããã«æ¡åŒµã¢ãžã¥ãŒã«ã远å ã§ããŒãããå¿
èŠã¯ãããŸããã
|
You can disable overload support with --disable--overload.
|
泚æ ãªãŒããŒããŒãã®çµã¿èŸŒã¿ãµããŒãã¯PHP 4.3.0ã§å©çšå¯èœãšãªããŸããã
|
You do not need to load any additional extension in order to use these functions.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Builtin support for overload is available with PHP 4.3.0.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
This extension has no resource types defined.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯å®æ°ãå
šãå®çŸ©ããŸã ãã
|
Some simple examples on using the overload() function:
|
overload() 颿°ã®ç°¡åãªäœ¿çšäŸãããã€ã瀺ããŸãã
|
Overloading a PHP class
|
äŸ 1PHPã¯ã©ã¹ã®ãªãŒããŒããŒã
|
Ovrimos SQL Server, is a client / server, transactional RDBMS combined with Web capabilities and fast transactions.
|
Ovrimos SQL ãµãŒããŒã¯ã¯ã©ã€ã¢ã³ã/ãµãŒããŒãWebã«å¯Ÿå¿ããé«éãªã ã©ã³ã¶ã¯ã·ã§ã³åŠçãå¯èœãªãã©ã³ã¶ã¯ã·ã§ã³ RDBMS ã§ãã
|
This extension is not available on Windows platforms.
|
泚æ ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯Windowsç°å¢ã§ã¯å©çšã§ããŸããã
|
You 'll need to install the sqlcli library available in the Ovrimos SQL Server distribution.
|
Ovrimos SQL ãµãŒããŒã¯ã www.ovrimos.com ã§å
¥æå¯èœã§ãã Ovrimos SQLãµãŒããŒé
åžãã¡ã€ã«ããå
¥æå¯èœãªsqlcliã©ã€ãã©ãªã〠ã³ã¹ããŒã«ããå¿
èŠããããŸãã
|
DIR is the Ovrimos' libsqlcli install directory.
|
PHPã§OvrimosãµããŒããæå¹ã«ããã«ã¯ããã©ã¡ãŒã¿ --with-ovrimos[=DIR] ãconfigureã¹ã¯ãªãã ã«æå®ããŠPHPãã³ã³ãã€ã«ããŸãããã ããDIRã¯Ovrimosã®libsqlcliã〠ã³ã¹ããŒã«ãããã£ã¬ã¯ããªã§ãã
|
Example 1.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
Process Control should not be enabled within a webserver environment and unexpected results may happen if any Process Control functions are used within a webserver environment.
|
PHPããµããŒãããããã»ã¹å¶åŸ¡é¢æ°ã¯ãUNIX圢åŒã®ããã»ã¹çæããã ã»ã¹å®è¡ãã·ã°ãã«åŠçãããã»ã¹çµäºæ©èœãå®è£
ããŠããŸãã ããã»ã¹å¶åŸ¡ã¯ãWebãµãŒãç°å¢ã§æå¹ã«ããã¹ãã§ã¯ãªããããã»ã¹å¶ åŸ¡é¢æ°ã®ã©ãããWebãµãŒãç°å¢ã§äœ¿çšãããå Žåã«ã¯ãäºæããªãçµæ ãçããå¯èœæ§ããããŸãã
|
For detailed information about Unix process control you are encouraged to consult your systems documentation including fork( 2), waitpid(2) and signal(2) or a comprehensive reference such as Advanced Programming in the UNIX Environment by W.
|
ãã®ææžã¯ãããã»ã¹å¶åŸ¡é¢æ°ã®äžè¬çãªäœ¿çšæ³ã説æããããšãããã® ã§ããUNIXã®ããã»ã¹å¶åŸ¡ã«é¢ããè©³çŽ°ãªæ
å ±ã«ã€ããŠã¯ãfork(2), waitpid(2) and signal(2)ã®ãããªã·ã¹ãã ã®ããã¥ã¡ã³ããã [Advanced Programming in the UNIX Environment by W. Richard Stevens (Addison-Wesley) ]ã®ãããªåªããåèæž ãèªãŸããããšãæšå¥šããŸãã
|
This change follows the same semantics as using "user ticks".
|
泚æ ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯Windowsç°å¢ã§ã¯å©çšã§ããŸããã
|
This allows you to minimize the overhead of handling asynchronous events.
|
ãããã®é¢æ°ã¯ãæšæºã¢ãžã¥ãŒã«ã®äžéšãš ããŠå©çšå¯èœã§ãããåžžã«äœ¿çšã§ããŸãã
|
No external libraries are needed to build this extension.
|
泚æ çŸåšããã®ã¢ãžã¥ãŒã«ã¯éUNIXç°å¢(Windows)ã§ã¯åäœããŸããã
|
You have to compile the CGI or CLI version of PHP with --enable-pcntl configuration option when compiling PHP to enable Process Control support.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯èšå®ãã£ã¬ã¯ãã£ããå
šã å®çŸ©ããŸããã
|
This extension has no configuration directives defined in php.ini.
|
ãã®æ¡åŒµã¢ãžã¥ãŒã«ã¯ãªãœãŒã¹åãå
šãå®çŸ©ã ãŸããã
|
The following list of signals are supported by the Process Control functions.
|
以äžã®ã·ã°ãã«ã®ãªã¹ãã¯ãããã»ã¹å¶åŸ¡é¢æ°ã§ãµããŒããããŠãããã® ã§ãããããã®ã·ã°ãã«ã®ããã©ã«ãåäœã®è©³çްã«ã€ããŠã¯ã signal(7) ã®ããã¥ã¢ã«ãåç
§äžããã
|
This example forks off a daemon process with a signal handler.
|
ãã®äŸã¯ãã·ã°ãã«ãã³ãã©ãæããããŒã¢ã³ããã»ã¹ããã©ãŒã¯ãªã ããŸãã
|
Process Control Example
|
äŸ 1ããã»ã¹å¶åŸ¡ã®äŸ
|
Prev
|
POSIX颿° ã®ç¯ãåç
§ããããšãæ çšã§ãããã
|
The expression should be enclosed in the delimiters, a forward slash (/), for example.
|
以äžã®é¢æ°ã§äœ¿çšããããã¿ãŒã³ã«é¢ããæ§æã¯ãPerl ã«éåžžã«ãã䌌㊠ããŸããåŒã¯ãããªãã¿ãäŸãã°ã¹ã©ãã·ã¥ (/) ã§å²ãŸããå¿
èŠããã ãŸããè±æ°åãŸãã¯ããã¯ã¹ã©ãã·ã¥(\)以å€ã®å
šãŠã®æåãããªãã¿ãš ããŠäœ¿çšå¯èœã§ããããªãã¿æåãæ£èŠè¡šçŸæ¬äœã«ãããŠäœ¿çšããå¿
èŠã ããå Žåã¯ãããã¯ã¹ã©ãã·ã¥ã§ãšã¹ã±ãŒãããå¿
èŠããããŸããPHP 4.0.4以éããã¿ãŒã³æå®çšã« Perl圢åŒã® (), {}, [], ã 䜿çšå¯èœã§ãã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.