Created
January 18, 2022 15:43
-
-
Save dazecoop/e43f48047ae7b8631717b2e3e012defd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '<pre style="white-space:normal; border:2px solid grey; margin:1rem; padding:1rem; font-size:12px;">'; | |
print_r( vsprintf(str_replace(array('?'), array('\'%s\''), $query->toSql()), $query->getBindings()) ); | |
echo '</pre>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment