repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
Zend
/
tests
/
class_alias_004.phpt
blob
b7dbabdeb09944cb5e6a06f93ac3139cfbb9e4dd
1
--TEST--
2
Testing creation of alias using an existing interface name
3
--FILE--
4
<?php
5
6
class foo { }
7
8
interface test { }
9
10
11
class_alias('foo', 'test');
12
13
?>
14
--EXPECTF--
15
Warning: Cannot redeclare class test in %s on line %d