Found an awesome video that was a great core PHP language refresher. The guy that made it has a ton of awesome videos on his channel. Moves really fast, so I don’t recommend it to someone learning from scratch, but it was great for me to go over some things I’ve either forgotten, of […]
Learned something new today! In php you can create an anonymous function that will just execute inline: <?php $greetings = function($name) { printf(“Wassup %s\r\n”, $name); }; These function will make the functionality cleaner when used as callbacks or simple variable assignment. It creates a closure, so the variables will not bleed out. If you want to inherit […]
<?php echo “Hello World!” ?>
Recent Comments