rubyisms in php