<?php class test { function register() { if (!function_exists('test_init')) { function test_init() { echo 'Initializing library'.PHP_EOL; } } } } $test = new test; $test->register(); test_init(); ?>
You have javascript disabled. You will not be able to edit any code.