zsh/.zsh/functions/enphp

3 lines
97 B
Text
Raw Normal View History

#! zsh
cat $argv | php -r 'echo serialize( json_decode( file_get_contents( "php://stdin" ) ) );'