Skip to content

Instantly share code, notes, and snippets.

@cryks
Created November 8, 2011 15:50
Show Gist options
  • Save cryks/1348135 to your computer and use it in GitHub Desktop.
Save cryks/1348135 to your computer and use it in GitHub Desktop.
@ test.php (chmod +x test.php)
#!/usr/bin/php
<?php
echo 'test';
@ test2.php
<?php
system('./test.php');
> php test2.php
test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment