PHP Класс Tests\PHPSA\Compiler\Statement\ForTest

Наследование: extends Tests\PHPSA\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testForConditionCreatesVar ( ) Tests for (;$stmtTest = 2;) {} creates the variable
testForInitCreatesVar ( ) Tests for ($stmtTest = 2;;) {} creates the variable
testForLoopCreatesVar ( ) Tests for (;$stmtTest = 2) {} creates the variable
testForStatementCreatesVar ( ) Tests for (;;) { $stmtTest = 2 } creates the variable

Описание методов

testForConditionCreatesVar() публичный Метод

Tests for (;$stmtTest = 2;) {} creates the variable

testForInitCreatesVar() публичный Метод

Tests for ($stmtTest = 2;;) {} creates the variable

testForLoopCreatesVar() публичный Метод

Tests for (;$stmtTest = 2) {} creates the variable

testForStatementCreatesVar() публичный Метод

Tests for (;;) { $stmtTest = 2 } creates the variable