PHP actually handles much of the details when it comes to types, since it is a dynamically typed language. This is good and bad. The good is that manual typing can be a headache. The bad is that odd errors like this where the PHP interpreter handles a type wrong can be difficult to pinpoint. The opposite of dynamic typing is static typing, which means that every variable must be declared with its type before it can be used, and you can only store matching types in any given variable (you cannot store a floating-point number in an integer variable).
Personally, I prefer statically typed languages, but that is likely just because that is what I learned to program with.
Project Z Help thread.
Need help with an engine or coding not on the list? Need help with a game or the website and forums here? Direct all questions here.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Return to “Advanced Help and Support”
Jump to
- General
- ↳ Announcements and Site Discussion
- ↳ News
- ↳ Say Hello
- ↳ Off-Topic
- ↳ Reviews
- ↳ Development Related
- ↳ Misc
- Developer's Corner
- ↳ General Development
- ↳ Game Design
- ↳ Resources
- ↳ Recruitment
- Game Development
- ↳ Beginner Help and Support
- ↳ Advanced Help and Support
- ↳ Programs/Assets/Libs/Open Source/Ect...
- ↳ Coding
- Show Off
- ↳ Project Showoff Tier I
- ↳ Project Showoff Tier II
- ↳ WebSite
- ↳ Art Showoff
- ↳ Members Games
- ↳ Main Empire Special
- ↳ General
- ↳ Development
- ↳ Off-Topic
- ↳ Bad Touch Studios
- ↳ Nitewing Gaming
- ↳ Fabled Kingdoms of Nizinia
- ↳ Announcements
- ↳ Development
- ↳ General
- ↳ Maze
- ↳ General
- ↳ Development
- ↳ Media
- ↳ Forsaken Sanctum 4.0
- ↳ General
- ↳ Contests
- ↳ Bugs and suggestions
- ↳ Forum Game
- ↳ Cavern Crawl
- ↳ Planetary Wars
- ↳ General
- ↳ Development
- Dot World Maker
- ↳ General
- ↳ Source Discussion
- New Worlds Engine
- ↳ General
- ↳ NWE Project Showoff
- KWM - Kal's world maker engine and NEAB
- ↳ Announcements
- ↳ KWM
- ↳ NEAB
- Tutorials
- ↳ Tutorials
- ↳ Epiales's Blender Tutorials
- ↳ Youtube Tutorials
- ↳ Browser Based MMO 2.0
- ↳ Real Time Browser Based MMO
- ↳ Older Browser MMO Videos
- ↳ Browser based RTS Videos
- ↳ C# Tutorials Videos
- ↳ Impact and Node/Socket.io
- ↳ Advanced MMO Framework
- ↳ Node For beginners
- ↳ Zester's Video Tutorials
- ↳ HallsNode
- ↳ Ticket System 2.0
- ↳ Code Sharing
- ↳ Hall's Games
- TMMOKit
- ↳ Help and Guides
- ↳ General
- Engine Discussion
- ↳ HTML5/Web Engines
- ↳ MMO Makers
- ↳ 3d Engines
- ↳ 2D engines
- ↳ Unity 3d
- ↳ General Unity
- ↳ Art and Assets
- ↳ Scripting/Coding
- Simple PBBG Engine
- ↳ Updates
- ↳ General
- Test