summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2009-03-27 02:32:57 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2009-03-27 02:32:57 +0000
commit13061cf0a069ed4fd90959c2f3e0166a3fbdcf59 (patch)
tree50487da88cc84910edd5ae98fcde118e8ae98411 /ext/standard
parent3526fe5dad33d00fe9580ae9a327a485272cf574 (diff)
downloadphp-git-13061cf0a069ed4fd90959c2f3e0166a3fbdcf59.tar.gz
Removed deprecation warning for ticks
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/tests/general_functions/bug41037.phpt3
-rwxr-xr-xext/standard/tests/general_functions/closures_002.phpt3
3 files changed, 0 insertions, 8 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index a0dcb73279..3da1408640 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -5640,8 +5640,6 @@ PHP_FUNCTION(register_tick_function)
if (tick_fe.arg_count < 1) {
WRONG_PARAM_COUNT;
}
-
- php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Ticks is deprecated and will be removed in PHP 6");
tick_fe.arguments = (zval **) safe_emalloc(sizeof(zval *), tick_fe.arg_count, 0);
diff --git a/ext/standard/tests/general_functions/bug41037.phpt b/ext/standard/tests/general_functions/bug41037.phpt
index a75cb8c4da..eab2c334c9 100644
--- a/ext/standard/tests/general_functions/bug41037.phpt
+++ b/ext/standard/tests/general_functions/bug41037.phpt
@@ -14,9 +14,6 @@ register_tick_function('a');
echo "Done\n";
?>
--EXPECTF--
-Deprecated: Ticks is deprecated and will be removed in PHP 6 in %s on line %d
-
-Deprecated: register_tick_function(): Ticks is deprecated and will be removed in PHP 6 in %s on line %d
hello
Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on line %d
Done
diff --git a/ext/standard/tests/general_functions/closures_002.phpt b/ext/standard/tests/general_functions/closures_002.phpt
index 35eb7ed54c..6df389bbb1 100755
--- a/ext/standard/tests/general_functions/closures_002.phpt
+++ b/ext/standard/tests/general_functions/closures_002.phpt
@@ -17,9 +17,6 @@ echo "Done\n";
?>
--EXPECTF--
-Deprecated: Ticks is deprecated and will be removed in PHP 6 in %s on line %d
-
-Deprecated: register_tick_function(): Ticks is deprecated and will be removed in PHP 6 in %s on line %d
Test
%d
%d