When you're using /devel/php you sometimes trigger an error and all the code in the textarea goes away. Instead garlic should be enabled on that form and save the code to the localstorage so even if there's an error the code remains.