projects
/
pharext
/
pharext
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
better handling of sudo output
[pharext/pharext]
/
tests
/
autoload.php
1
<
?php
2
spl_autoload_register
(
function
(
$class
) {
3
if
(
strncmp
(
$class
,
"pharext
\\
"
,
strlen
(
"pharext
\\
"
))) {
4
return false
;
5
}
6
return include
__DIR__
.
"/../src/"
.
strtr
(
$class
,
"_
\\
"
,
"//"
).
".php"
;
7
});