<?$fuga = 'PIYO';$def = "\$${fuga}\$";var_dump( $fuga, $def, "hoge $fuga abc${def}ghi");
Standard input is empty
string(4) "PIYO" string(6) "$PIYO$" string(22) "hoge PIYO abc$PIYO$ghi"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!