zsh/config/zsh/functions/enphp

3 lines
97 B
Bash

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