It is absolutely not secure. Your code still has to base64_decode it to run and there's no reason why the guy who runs the script can't do that himself. That is to say, take your base64_encode'd string, decode it himself then print it to screen or whatever.
If you want your script to be more secure, I would suggest using an encoder like ioncube and / or running an obfuscator over the code.