Permalink
Browse files

add strings to getReflection so it's possible to see what was previou…

…sly eval()ed
  • Loading branch information...
1 parent f5311b3 commit da0d4fa7bf1bccfaa2b80dafae47c153381a056c @scoates scoates committed with Nov 26, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 PHP/Repl.php
View
@@ -362,6 +362,9 @@ protected function getReflection($thing)
case $rc->hasConstant($what):
return $rc->getConstant($what);
}
+
+ case is_string($thing):
+ return var_export($thing) . "\n";
}
}

0 comments on commit da0d4fa

Please sign in to comment.