This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| var_dump(PHP_SAPI); | |
| pcntl_signal(SIGALRM, function () { | |
| var_dump("おしまい", time()); exit; | |
| }); | |
| // 2秒後にセット | |
| pcntl_alarm(2); | |
| $i = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * printf is template engine | |
| * | |
| * @license WTFPL http://www.wtfpl.net/ | |
| * @author USAMI Kenta <[email protected]> | |
| * @param string $format | |
| * @param string|int|float $args... | |
| * @return string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defvar foo-list '(a b c x y z)) | |
| (defun foo-func () | |
| foo-list) | |
| (foo-func) ;=> (a b c x y z) | |
| (defvar abc) | |
| (defvar xyz) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| あいかわじゅん 哀川潤 | |
| あいかわじゅんや 藍川純哉 | |
| あおいいみここ 葵井巫女子 | |
| あおいろさう゛ぁん 青色サヴァン | |
| あかがみ 赤神 | |
| あかがみいりあ 赤神イリア | |
| あかがみおでっと 赤神オデット | |
| あかきせいさい 《赤き征裁》 | |
| あくとうびた 悪刀・鐚 | |
| あさのみいこ 浅野みいこ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author USAMI Kenta <[email protected]> | |
| * @copyright WTFPL | |
| */ | |
| require getenv('HOME') . '/.composer/vendor/autoload.php'; | |
| echo 'Test for stream wrapper', PHP_EOL; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "PHP 4": { | |
| "debug_backtrace": { | |
| "id": "function.debug-backtrace", | |
| "purpose": "Generates a backtrace", | |
| "prototype": "array debug_backtrace([int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT [, int $limit = '']])", | |
| "return": "<p class=\"para\"> Returns an array of associative <span class=\"type\">array<\/span>s. The possible returned elements are as follows: <\/p> <p class=\"para\"> <table class=\"doctable table\"> <caption><strong>Possible returned elements from <span class=\"function\">debug_backtrace<\/span><\/strong><\/caption> <thead> <tr> <th>Name<\/th> <th>Type<\/th> <th>Description<\/th> <\/tr> <\/thead> <tbody class=\"tbody\"> <tr> <td>function<\/td> <td><span class=\"type\">string<\/span><\/td> <td> The current function name. See also <a href=\"language.constants.predefined.html\" class=\"link\">__FUNCTION__<\/a>. <\/td> <\/tr> <tr> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "PECL apc": { | |
| "apc_add": { | |
| "id": "function.apc-add", | |
| "purpose": "Cache a new variable in the data store", | |
| "prototype": "array apc_add(string $key, mixed $var [, int $ttl = '', array $values [, mixed $unused = null]])", | |
| "return": "<p class=\"para\"> Returns TRUE if something has effectively been added into the cache, FALSE otherwise. Second syntax returns array with error keys. <\/p>" | |
| }, | |
| "apc_bin_dump": { | |
| "id": "function.apc-bin-dump", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP 5 <= 5.0.5, PECL ingres >= 1.0.0 | |
| 0.0.1 | |
| 0.2.0 | |
| None | |
| PECL CUBRID >= 8.3.0 | |
| PECL CUBRID >= 8.3.1 | |
| PECL CUBRID >= 8.4.0 | |
| PECL CUBRID >= 8.4.1 | |
| PECL CUBRID >=8.3.0 | |
| PECL OAuth >= 0.99.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @copyright 2015 pixiv Inc. | |
| * @license http://creativecommons.org/publicdomain/zero/1.0/legalcode CC0-1.0 | |
| */ | |
| final class AppRunnerSample | |
| { | |
| public static function execute(ControllerTypeBInterface $controller) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * phpnet_version_parse.php | |
| * | |
| * @author USAMI Kenta <[email protected]> | |
| * @copyright 2015 USAMI Kenta | |
| * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 | |
| */ |