eval.in

Paste #13037

PHP — PHP 5.4.6, pasted 1 year ago

1
2
3
4
5
6
7
<?php

namespace Foo;
class Bar {}

var_dump(class_exists('\\Foo\\Bar'));
var_dump(class_exists('\\foo\\bar'));

Program Output

bool(true)
bool(true)

OK (0.004 sec real, 0.005 sec wall, 13 MB, 43 syscalls)

Fork