Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- set_error_handler('error_debug_handler');
- function error_debug_handler($errno, $errstr, $errfile, $errline, $context, $backtrace = null) { }
- session_set_save_handler(
- array('s', 'open'),
- array('s', 'close'),
- array('s', 'read'),
- array('s', 'write'),
- array('s', 'destroy'),
- array('s', 'gc')
- );
- class s
- {
- function open() {}
- function close() {}
- function read() {}
- function write() {}
- function destroy() {}
- function gc() {}
- }
- session_start();
- $a = new a();
- $a->b();
- class a
- {
- function b()
- {
- die('b');
- }
- }
Add Comment
Please, Sign In to add comment