iron-io / iron_mq_php

PHP client for IronMQ.
www.iron.io
BSD 2-Clause "Simplified" License
89 stars 43 forks source link

PHP wants() and needs ; #16

Closed chmac closed 11 years ago

chmac commented 11 years ago

The code was missing a couple of semi-colons and PHP probably wants brackets where other languages might not.

thousandsofthem commented 11 years ago

Well, the truth is: php wants () for functions but require_once is language construction, same as echo. So you can write echo "hey!"; but can't print "boom!";

Semicolons is required part though, you're right

chmac commented 11 years ago

Understand it's not required, but it is "normal" in my experience...

chmac commented 11 years ago

Although, having said that, the docs omit the brackets, so maybe I'm mistaken... http://www.php.net/manual/en/function.include.php