Jump to content

Recommended Posts

Ok, I’m coding in PHP5. If I run

<?php

phpinfo();

?>

I can see that the server is "PHP Version 4.4.4-8+etch6"

As I’m a newbi, how much is PHP5 compatible with PHP4? Some functions like ceil & floor gives me Phrase or/and syntax etc. errors.

 

Is this because of a compatibility issue?  ???

Link to comment
https://forums.phpfreaks.com/topic/125918-solved-compatible/
Share on other sites

The only parse or syntax errors you will get that are strictly due to php5 syntax executed on a php4 system are OOP related. If you are getting parse errors with just function calls, it is probably due to your code or possibly the use of short open tags <? in your code (which is actually a configuration problem, not a php version problem.)

 

The quickest way to get help with what your code is doing that is php configuration specific or php version specific would be for you to post your code and post the actual error message.

Link to comment
https://forums.phpfreaks.com/topic/125918-solved-compatible/#findComment-651199
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.