3 ms·
It happens with any language. But at least in Java you're limited (as far as I know) to looking through what you've explicitly imported. If you include a file i
by adambard 15y ago
It happens with any language. But at least in Java you're limited (as far as I know) to looking through what you've explicitly imported. If you include a file in PHP, you have access to everything that that file included in itself, and everything that those files included, and so forth.
- jergason 15y agoExcuse my ignorance, but don't you have the same behavior with `require` in Ruby? How are the behaviors of Ruby's `require` and PHP's `include_once` different?