diff --git a/src/peeble/PhpOutput.fs b/src/peeble/PhpOutput.fs index f7b00b1..7f86303 100644 --- a/src/peeble/PhpOutput.fs +++ b/src/peeble/PhpOutput.fs @@ -191,6 +191,8 @@ let rec writeExpr ctx expr = match f with | PhpConst (PhpConstString f) -> write ctx f + | PhpVar (name, _) -> + write ctx name | _ -> writeExpr ctx f if anonymous then write ctx ")"