Deprecated: Use of "self" in callables is deprecated in /in/tQUNL on line 10
Deprecated: Callables of the form ["Module", "static::replace"] are deprecated in /in/tQUNL on line 10
x[[[hello]]] x[[[world]]].
Deprecated: Use of "self" in callables is deprecated in /in/tQUNL on line 10
Fatal error: Uncaught TypeError: preg_replace_callback(): Argument #2 ($callback) must be a valid callback, class Module is not a subclass of MyModule in /in/tQUNL:10
Stack trace:
#0 /in/tQUNL(10): preg_replace_callback('~\\w+~', Array, 'hello world.')
#1 /in/tQUNL(3): Module::work('hello world.')
#2 {main}
thrown in /in/tQUNL on line 10
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
x[[[hello]]] x[[[world]]].
Fatal error: Uncaught TypeError: preg_replace_callback(): Argument #2 ($callback) must be a valid callback, class Module is not a subclass of MyModule in /in/tQUNL:10
Stack trace:
#0 /in/tQUNL(10): preg_replace_callback('~\\w+~', Array, 'hello world.')
#1 /in/tQUNL(3): Module::work('hello world.')
#2 {main}
thrown in /in/tQUNL on line 10
Process exited with code 255.
x[[[hello]]] x[[[world]]].
Warning: preg_replace_callback(): Requires argument 2, 'self::static::replace', to be a valid callback in /in/tQUNL on line 10
hello world.
Output for 5.2.0 - 5.2.17
Warning: preg_replace_callback(): Requires argument 2, 'self::static::replace', to be a valid callback in /in/tQUNL on line 10
hello world.
Warning: preg_replace_callback(): Requires argument 2, 'self::static::replace', to be a valid callback in /in/tQUNL on line 10
hello world.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Warning: preg_replace_callback(): requires argument 2, 'self::static::replace', to be a valid callback in /in/tQUNL on line 10
hello world.
Warning: preg_replace_callback(): requires argument 2, 'self::static::replace', to be a valid callback in /in/tQUNL on line 10
hello world.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_CLASS in /in/tQUNL on line 5
Process exited with code 255.