summaryrefslogtreecommitdiff
path: root/Zend/tests/class_exists_003.phpt
blob: ad7bafa3a75708c21bf3cdf03e98c38bf50a512f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Checking if exists interface, abstract and final class
--FILE--
<?php

interface a { }

abstract class b { }

final class c { }

var_dump(class_exists('a'));
var_dump(class_exists('b'));
var_dump(class_exists('c'));

?>
--EXPECT--
bool(false)
bool(true)
bool(true)