[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
PHP 8.4.2 Released!

定義済み定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

YAF_VERSION (string)
YAF_ENVIRON (string)
YAF_ERR_STARTUP_FAILED (int)
YAF_ERR_ROUTE_FAILED (int)
YAF_ERR_DISPATCH_FAILED (int)
YAF_ERR_AUTOLOAD_FAILED (int)
YAF_ERR_NOTFOUND_MODULE (int)
YAF_ERR_NOTFOUND_CONTROLLER (int)
YAF_ERR_NOTFOUND_ACTION (int)
YAF_ERR_NOTFOUND_VIEW (int)
YAF_ERR_CALL_FAILED (int)
YAF_ERR_TYPE_ERROR (int)

add a note

User Contributed Notes 1 note

up
1
lee dot howarth dot 90 at gmail dot com
10 years ago
The documentation here is not fully correct.

<?php

print_r
(get_defined_constants());
die;

?>

Will show basically:

[PHP_YAF_VERSION] => 2.3.2
[YAF_ENVIRON] => product
[YAF_ERR_STARTUP_FAILED] => 512
[YAF_ERR_ROUTE_FAILED] => 513
[YAF_ERR_DISPATCH_FAILED] => 514
[YAF_ERR_AUTOLOAD_FAILED] => 520
[YAF_ERR_NOTFOUND_MODULE] => 515
[YAF_ERR_NOTFOUND_CONTROLLER] => 516
[YAF_ERR_NOTFOUND_ACTION] => 517
[YAF_ERR_NOTFOUND_VIEW] => 518
[YAF_ERR_CALL_FAILED] => 519
[YAF_ERR_TYPE_ERROR] => 521

So use PHP_YAF_VERSION instead of just YAF_VERSION
To Top