Tramaine Darby

Tramaine Darby

Raleigh NC 27675
Tramaine Darby
917-300-9122 tramainedarby@gmail.com

Posts Categorized / PHP

Learning (or Refreshing) PHP

February 19, 2015 | PHP | by tdarby

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 […]

PHP Anonymous functions

February 18, 2015 | PHP | by tdarby

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 […]

Hello world!

November 17, 2014 | PHP | by tdarby

<?php echo “Hello World!” ?>