From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

<?php
function func1() {}
class MyClass
{
function func1() {}
}
interface MyInterface
{
function func1() {}
}
function __autoload($class) {}
echo preg_replace_callback('~-([a-z])~', function ($match) { return strtoupper($match[1]); }, 'hello-world');
?>