Skip to content

Instantly share code, notes, and snippets.

Zheng SHAO axot

Block or report user

Report or block axot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@abiusx
abiusx / deepcopy.php
Last active Aug 5, 2018
Deep Copy an array (or variable) in PHP
View deepcopy.php
<?php
/**
* PHP Deep Copy
* @version 3.1.1:
* _zval_id_accurate now receives its zval pool instead of having it static.
* if is_ref and zval_id are available
* in PHP core, we will use them.
* otherwise, we will use PHP based implementations of these
* functions.
*
@tom-go
tom-go / install_theos.sh
Created Aug 13, 2012
Theos install script
View install_theos.sh
#!/bin/bash
export THEOS=/opt/theos
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd $THEOS
mv include include.bak
You can’t perform that action at this time.