Last active
February 20, 2018 18:21
-
-
Save bordeux/2f679dea12248983dac352da1a34e531 to your computer and use it in GitHub Desktop.
Solutions to returntrue.win
This file contains 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
1. !0 | |
2. function(){return 'true';} | |
3. !0 | |
4. 0 | |
5. 𪒧 | |
6. $GLOBALS[v] = create_function('', 'return $GLOBALS[v];') | |
7. (object)[!0] | |
8. new class extends Bar{} | |
9. N //or NaN (if you do not like errors) | |
10. function(&$x){$x=new Bar(1);} | |
11. [] |
1.
is also the absolute best for #3.
#10 may be diminished to function(&$x){$x=new$x(1);}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for #9 u can use