[TYPO3] Problems with a deprecated php function
Dmitry Dulepov [typo3]
dmitry at typo3.org
Thu Dec 20 13:06:23 CET 2007
Hi!
Ivan Gomez Rodriguez wrote:
> Does someboby know if it's possible use call_user_function instead
> call_user_method function in TYPO3 core (v.4.12)?,
>
> This change will be rather dangerous or not
>
> Following is the only one place where call_user_func is called in my
> intallation
>
> typo3/sysext/cms/tslib/class.tslib_content.php:5697:
> $content = call_user_method($parts[1], $classObj, $content, $conf);
>
> I wish to use exceptions and i can't do that because call_user_method is
> deprecated and it have well-known bugs related with exceptions.
>
> A solution could be change this function for any of recommended
> functions call_user_func or call_user_func _array
>
> http://es.php.net/manual/en/function.call-user-method.php
As minimum you should write a bug report about it. It will not be evaluated or fixed without bug report.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-english
mailing list