Skip to content

Instantly share code, notes, and snippets.

View KendallHopkins's full-sized avatar

Kendall Hopkins KendallHopkins

View GitHub Profile
SOURCE_FOLDER=~/SUF
//Install Xcode
http://itunes.apple.com/us/app/xcode/id448457090?mt=12
//checkout source
git clone [email protected]:SimpleUpdates/SUFramework.git $SOURCE_FOLDER --recursive
//clean /opt
rm -Rf /opt
<?php
class Thread
{
private $_socket;
private $_pid = NULL;
function __construct( Closure $closure )
{
<?php
function test( array $array )
{
$closure = function() use ( $array ) {
var_dump( $array );
yield "hi";
};
return $closure();
}