12 lines
150 B
PHP
12 lines
150 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Class BadClass - uses equal instead of identical operator
|
||
|
*/
|
||
|
class BadClass {
|
||
|
public function foo() {
|
||
|
if (true == false) {
|
||
|
}
|
||
|
}
|
||
|
}
|