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
$function = function($n) { | |
return function($i) use ($n) { | |
return $i + $n; | |
}; | |
}; | |
echo gettype($function); | |
echo gettype($function(1)); |
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
dWZyAaGAPiA9Qa7cIQxdbvZecnxvqZgs3uOYPv13ecUmQDkj7LSBe7xs1pPO6VIYVLQHjugkvPgSk0WLWbPQCEQQoMu6CqqwisQLIKSyKy5u5HqKEQYYKuEUGXjenvknzvA6Glcr5QuL8mHuxhQnkKCyr2mf2Uk6XIQVkfHpJuFxi0iHatJImAQIXlfoPuu3sOQRrr5EsrALqq52s02GiwTYQLKvGwqRgYRH8wKBMwP2v7kRwdZnmcmOOmlgsqIzTMvRwBmZI2KPyYiEtiKMJP)oX6VG1ODDCHwkh(t26EAA2fx)YQk(2yACJIe5YxrT2F18Yf651p6HrlyNwGrn8U)eqJAZTwZJdrKfLvlDVp8DscndCpnn7cYkqJGlTUNMMDbv1QD)qtIj5WFYAjuun0E6kRgKqzciRwjgfEzfiq7(ggFogf8lRwjgfEzfiqZ1rzz1kXOWlRabAgPC47ez1kXOWlRabAfNfqcLjGSALyu4LvGanxkNLvReJcVSceOHdCwoAkeefbA(n3WiWGIk(i0gHiGKOJo6iJHqMfzTyMKr8MIGaTCzvvRSAgDcS)awvMmPD)qbAYVLBaAwFEvzRJW0s5WFYw3ttZU46xwvX3gt7jpKL3llqzGVQQvlLdFNeKvlajhiR2TNvYHqIMffTqhtUAnta2zKY5d9DVMtch2eCcH7d7sHdJJVF6W1XKB4qQ7nEcTphtsRJjxK3PP1U9SqhtUIAbc0AyUHrGbvfps08BUHrGbv1gnYJflwntMAnfdj1mt7VAg9CCO(X26h7rS(X4JV(XsU(XyAjYxMGVtKvRm9ez1a)fSwHJdmOv44adAj0cpjVXObwGanW900StwTltbByy9xWAiWhvXfLxiQL3XeW8c2LGUtRPnvdh4SqbN)gFEgM8GOOHdms7yciQ1Y7ycO1QrsLCqwv1Qz(j7IOhgTuGgM8GMrphh0YXbOxM55VSg8L8vGw6EF47KeAg4EAA2fKvvTYQbUNMMDYQb(lyTe2L0cyk8jtGHnm(gA |
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
/* | |
* Various constants used throughout the app. | |
*/ | |
import { | |
Dimensions, | |
Platform | |
} from 'react-native' | |
const { |