# 3v4l.org

run code in 200+ php & hhvm versions
```<?php \$apples = 10; for (\$i = 0; \$i < 10; ++\$i) { echo 'I have ' . \$apples-- . " apples. I just ate one.\n"; }```
Output for 4.3.0 - 7.2.0
I have 10 apples. I just ate one. I have 9 apples. I just ate one. I have 8 apples. I just ate one. I have 7 apples. I just ate one. I have 6 apples. I just ate one. I have 5 apples. I just ate one. I have 4 apples. I just ate one. I have 3 apples. I just ate one. I have 2 apples. I just ate one. I have 1 apples. I just ate one.