| @@ 445-450 (lines=6) @@ | ||
| 442 | } |
|
| 443 | } |
|
| 444 | ||
| 445 | if (trim(strtolower($x)) === 'true') { |
|
| 446 | if ($this->compileToCode === true) { |
|
| 447 | return 'TRUE'; |
|
| 448 | } |
|
| 449 | return true; |
|
| 450 | } |
|
| 451 | if (trim(strtolower($x)) === 'false') { |
|
| 452 | if ($this->compileToCode === true) { |
|
| 453 | return 'FALSE'; |
|
| @@ 451-456 (lines=6) @@ | ||
| 448 | } |
|
| 449 | return true; |
|
| 450 | } |
|
| 451 | if (trim(strtolower($x)) === 'false') { |
|
| 452 | if ($this->compileToCode === true) { |
|
| 453 | return 'FALSE'; |
|
| 454 | } |
|
| 455 | return false; |
|
| 456 | } |
|
| 457 | ||
| 458 | if ($this->compileToCode === true) { |
|
| 459 | return '"' . trim($x, '\'"') . '"'; |
|