Blog de Portekoi : Programmation et Astuces

Programmation Cobol, Php, Asp, Java et DotNet…

POO : Inclure des classes en PHP 5 via autoload


Fatal error: Uncaught Error: Call to undefined function create_function() in /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php:4698 Stack trace: #0 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php(4621): GeSHi->_optimize_regexp_list_tokens_to_string(Array) #1 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php(1655): GeSHi->optimize_regexp_list(Array) #2 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php(2029): GeSHi->optimize_keyword_group(1) #3 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php(2168): GeSHi->build_parse_cache() #4 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/codecolorer-core.php(263): GeSHi->parse_code() #5 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/codecolorer-core.php(176): CodeColorer->performHighlightGeshi('function __auto...', Array) #6 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/codecolorer-core.php(76): CodeColorer->performHighlightCodeBlock('function __auto...', ' lang="PHP"', 'Lorsque l'on pr...', '', '\r\n', '\r\n\r\n') #7 [internal function]: CodeColorer->{closure}(Array) #8 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/codecolorer-core.php(79): preg_replace_callback('#(\\s*)\\<code(.*...', Object(Closure), 'Lorsque l'on pr...') #9 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/codecolorer.php(265): CodeColorer->beforeHighlightCodeBlock('Lorsque l'on pr...') #10 /homepages/29/d139613200/htdocs/portekoi/blog/wp-includes/class-wp-hook.php(308): CodeColorerLoader::callBeforeHighlightCodeBlock('Lorsque l'on pr...') #11 /homepages/29/d139613200/htdocs/portekoi/blog/wp-includes/plugin.php(205): WP_Hook->apply_filters('Lorsque l'on pr...', Array) #12 /homepages/29/d139613200/htdocs/portekoi/blog/wp-includes/post-template.php(255): apply_filters('the_content', 'Lorsque l'on pr...') #13 /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/themes/modern-multipurpose/single.php(20): the_content() #14 /homepages/29/d139613200/htdocs/portekoi/blog/wp-includes/template-loader.php(106): include('/homepages/29/d...') #15 /homepages/29/d139613200/htdocs/portekoi/blog/wp-blog-header.php(19): require_once('/homepages/29/d...') #16 /homepages/29/d139613200/htdocs/portekoi/blog/index.php(17): require('/homepages/29/d...') #17 {main} thrown in /homepages/29/d139613200/htdocs/portekoi/blog/wp-content/plugins/codecolorer/lib/geshi.php on line 4698