mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Rename zend-test to zend_test
The extension name should match the name of the ext/ directory, otherwise it will not get picked up by run-tests. It would be possible to remap this in run-tests, but I think it's better to rename the extension to follow the standard format. Other extensions also use underscore instead of hyphen (e.g. pdo_mysql and not pdo-mysql). Of course, the ./configure option remains hyphenated. Closes GH-6613.
This commit is contained in:
parent
d1fe9ae05f
commit
dbe5725ff3
@ -2,8 +2,8 @@
|
||||
Attribute validation callback of internal attributes.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) {
|
||||
echo "skip requires zend-test extension\n";
|
||||
if (!extension_loaded('zend_test')) {
|
||||
echo "skip requires zend_test extension\n";
|
||||
}
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78239: Deprecation notice during string conversion converted to exception hangs
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("zend-test")) die("skip requires zend-test extension"); ?>
|
||||
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test extension"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
function handleError($level, $message, $file = '', $line = 0, $context = [])
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Bug #78335: Static properties containing cycles report as leak (internal class variant)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("zend-test")) die("skip requires zend-test"); ?>
|
||||
<?php if (!extension_loaded("zend_test")) die("skip requires zend_test"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Check that arguments are freed when calling a deprecated function
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Internal constant deprecation
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip requires zend-test');
|
||||
if (!extension_loaded('zend_test')) die('skip requires zend_test');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Inherit internal static property into userland class
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip requires zend-test'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip requires zend_test'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Test Z_PARAM_ITERABLE() and Z_PARAM_ITERABLE_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Overloaded function 001
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Overloaded function 002
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Return type for internal functions
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
// Internal function return types are only checked in debug builds
|
||||
if (!PHP_DEBUG) die('skip requires debug build');
|
||||
?>
|
||||
|
@ -2,7 +2,7 @@
|
||||
Return type for internal functions 2
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--FILE--
|
||||
<?php
|
||||
zend_test_nullable_array_return();
|
||||
|
@ -2,7 +2,7 @@
|
||||
Return type for internal functions 3: Void return type
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(zend_test_void_return());
|
||||
|
@ -2,7 +2,7 @@
|
||||
Test Z_PARAM_OBJ_OF_CLASS_OR_STR() and Z_PARAM_OBJ_OF_CLASS_OR_STR_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Test Z_PARAM_OBJ_OR_STR() and Z_PARAM_OBJ_OR_STR_OR_NULL
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Bug #69579 (Internal trait double-free)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Typed properties in internal classes
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip requires zend-test'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip requires zend_test'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Inheritance of union type from internal class
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip requires zend-test extension');
|
||||
if (!extension_loaded('zend_test')) die('skip requires zend_test extension');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -3,7 +3,7 @@ Bug #79096 (FFI Struct Segfault)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('ffi')) die('skip ffi extension not available');
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not available');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not available');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -3,7 +3,7 @@ Bug #79177 (FFI doesn't handle well PHP exceptions within callback)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('ffi')) die('skip ffi extension not available');
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not available');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not available');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -3,7 +3,7 @@ Bug #79532 (sizeof off_t can be wrong)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('ffi')) die('skip ffi extension not available');
|
||||
if (!extension_loaded('zend-test')) die('skip zend-test extension not available');
|
||||
if (!extension_loaded('zend_test')) die('skip zend_test extension not available');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
Bug 76337: segmentation fault when an extension use zend_register_class_alias() and opcache enabled
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
<?php if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
|
||||
<?php if (!extension_loaded('zend_test')) die('skip zend_test extension not loaded');
|
||||
--INI--
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
|
@ -2,7 +2,7 @@
|
||||
Internal static methods should not be confused with global functions
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('zend-test')) die('skip requires zend-test');
|
||||
if (!extension_loaded('zend_test')) die('skip requires zend_test');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -8,7 +8,7 @@ zend_test.replace_zend_execute_ex=1
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
<?php if (!isset(opcache_get_status()["jit"])) die('skip: JIT is not available'); ?>
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
PHP_ARG_ENABLE([zend-test],
|
||||
[whether to enable zend-test extension],
|
||||
[AS_HELP_STRING([--enable-zend-test],
|
||||
[Enable zend-test extension])])
|
||||
[Enable zend_test extension])])
|
||||
|
||||
if test "$PHP_ZEND_TEST" != "no"; then
|
||||
PHP_NEW_EXTENSION(zend_test, test.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
||||
|
@ -1,6 +1,6 @@
|
||||
// vim:ft=javascript
|
||||
|
||||
ARG_ENABLE("zend-test", "enable zend-test extension", "no");
|
||||
ARG_ENABLE("zend-test", "enable zend_test extension", "no");
|
||||
|
||||
if (PHP_ZEND_TEST != "no") {
|
||||
EXTENSION("zend_test", "test.c", PHP_ZEND_TEST_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
||||
|
@ -607,7 +607,7 @@ static PHP_GINIT_FUNCTION(zend_test)
|
||||
PHP_MINFO_FUNCTION(zend_test)
|
||||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "zend-test extension", "enabled");
|
||||
php_info_print_table_header(2, "zend_test extension", "enabled");
|
||||
php_info_print_table_end();
|
||||
|
||||
DISPLAY_INI_ENTRIES();
|
||||
@ -615,7 +615,7 @@ PHP_MINFO_FUNCTION(zend_test)
|
||||
|
||||
zend_module_entry zend_test_module_entry = {
|
||||
STANDARD_MODULE_HEADER,
|
||||
"zend-test",
|
||||
"zend_test",
|
||||
ext_functions,
|
||||
PHP_MINIT(zend_test),
|
||||
PHP_MSHUTDOWN(zend_test),
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Show backtrace on init
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of userland functions
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of userland methods
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of includes
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of includes only (no functions)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_includes=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of functions only (no includes)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_functions=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: call_user_func() from root namespace
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: call_user_func_array() from root namespace
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: call_user_func() from namespace
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: call_user_func_array() from namespace
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of closures
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: End handlers fire after a fatal error
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: End handlers fire after a userland fatal error
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: non-fatal errors do not fire end handlers prematurely
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: fatal errors caught with zend_try will not fire end handlers prematurely
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
<?php if (!extension_loaded('soap')) die('skip: soap extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic eval observability
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic observability of userland functions with uncaught exceptions
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic generator observability
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Generator with explicit return
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Generator with 'yield from'
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Generator with manual traversal
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Generator with uncaught exception
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Basic magic method observability
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Ensure opline exists on the execute_data
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: IS_CONST
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Unused retvals from generators are still observable
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: refcounted, IS_CV
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: refcounted, IS_VAR
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: IS_CV, IS_UNDEF
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: IS_CV
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals are observable that are: IS_REFERENCE, IS_VAR
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals by reference are observable that are: IS_CV
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals by reference are observable that are: IS_TMP_VAR
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Retvals by reference are observable that are: IS_VAR, ZEND_RETURNS_FUNCTION
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Function calls from a shutdown handler are observable
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Function calls from a __destruct during shutdown are observable
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Observe basic TypeError
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
--TEST--
|
||||
Observer: Calls that go through zend_call_function are observed
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded('zend-test')) die('skip: zend-test extension required'); ?>
|
||||
<?php if (!extension_loaded('zend_test')) die('skip: zend_test extension required'); ?>
|
||||
--INI--
|
||||
zend_test.observer.enabled=1
|
||||
zend_test.observer.observe_all=1
|
||||
|
Loading…
Reference in New Issue
Block a user