Timeline for Print X without X (robber's thread)
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 2, 2020 at 11:48 | comment | added | Ismael Miguel |
It is entirely possible, but you don't need PHP for it. In PHP, you do $fns = get_defined_functions()["int\x65rnal"]; print($fns[1][3] . $fns[9][3] . $fns[16][4]); . In my language, you can do {@set j "{@call get_defined_fun\x63ti\x6fns into x}{@set k \"int\x65rnal\"}{@set x x.[k]}"}{@eval j}{@print "#{x.1.3}#{x.9.3}#{x.16.4}#{VERSION}"} (it includes the version number) as well.
|
|
Aug 2, 2020 at 3:45 | comment | added | Dingus |
@IsmaelMiguel For cho , my first thought was actually to index into a list of functions to get echo and then somehow remove the e . But I don't speak PHP and couldn't find a way to do it (if it's even possible).
|
|
Aug 1, 2020 at 17:24 | comment | added | Ismael Miguel | O.o That's way more complicated than I expected it to be. But you were super close to the intented solution! And yes, the 0.84 is indeed the version number. Regarding the bug, I will try to check it. | |
Aug 1, 2020 at 9:38 | comment | added | Dingus |
Incidentally, I believe I found a bug along the way: replace every j with an i and cho disappears from the output. From a small sample of other letters, i seems to be the only one that produces the bug.
|
|
Aug 1, 2020 at 9:35 | history | answered | Dingus | CC BY-SA 4.0 |