I do PHP coding a lot in my company and personal work. Usually my files get bigger, sometimes more than 2000-3000 lines long. Then, they get difficult to manage.
My Question: What should be (is) the standard length of a PHP code file in terms of lines-of-code. At what length do you guys split it up?
Note: No Object Oriented programming (I don't use classes). Please answer accordingly.
Clarification of not using classes:
- I do use functions a lot.
- I don't use classes because the code is legacy. I have to maintain that and add new features.
- I was a C programmer before. So, going OO is somewhat tough for me. Like learning whole new way of doing things.