1<?php 2 3if (!function_exists('error_no_method')) { 4 function error_no_method($method, $class) { 5 die(sprintf("Error: unoverridden '%s' method called in '%s'", $method, $class)); 6 } 7}; 8 9?>