Created
October 21, 2015 22:21
-
-
Save Shaked/74e85a3150f3932433a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //passes: Reindent | |
| $string = 'a'. | |
| 'b'. | |
| 'c'. | |
| 'd'; | |
| $x = 1; | |
| $string = [ | |
| "x" => [ | |
| "t" => "1" . $x | |
| ], | |
| ]; | |
| if ($x == 1) { | |
| $string = 'a'. | |
| 'b'. | |
| 'c'. | |
| 'd'; | |
| if ($x = 1) { | |
| doSomething(); | |
| } | |
| doSomething($a = 1); | |
| } | |
| while ($row = $percent->fetchObject()) { | |
| $answers[] = $row; | |
| } | |
| class Test { | |
| public function abc($x) { | |
| if (1 == $x) { | |
| echo "${abc}"; | |
| } | |
| } | |
| } |
Author
Shaked
commented
Oct 21, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment