DEV Community

Discussion on: Learn Python, PHP, Ruby and Javascript in one Blog Post

Collapse
 
darkain profile image
Vincent Milum Jr

Just a tip: for PHP, you dont need the ?> at the end. This actually shifts context from PHP to TEXT, and will pass any text after that to the console/browser. This can be especially bad for editor that send new-line characters, but you were using PHP to output binary data (such as reading an image file and sending to the browser)