run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_replace_callback('/\[(aviable|available|not-aviable|not-available)=(.+?)\]((?>(?R)|.)*?)\[\/\1\]/is', array( &$this, 'check_module'), $matches);
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/5UOus:3 Stack trace: #0 {main} thrown in /in/5UOus on line 3
Process exited with code 255.
Output for 5.3.22 - 7.0.20
Notice: Undefined variable: matches in /in/5UOus on line 3 Warning: preg_replace_callback(): Requires argument 2, 'Array', to be a valid callback in /in/5UOus on line 3