vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   PHP Version (https://vborg.vbsupport.ru/showthread.php?t=139368)

Farcaster 02-14-2007 05:26 AM

PHP Version
 
I am contemplating working on a fairly major add-on that I would like to share with the vBulletin community. Since the project is going to involve quite a bit of work with XML, I'd like to take advantage of some of the new extensions that are available in PHP5, but I'm curious how many people would be able to use it, if I did. So, I'd like to run a poll to get a rough gauge of the utilization.

What version of PHP does your server use? If you are using version 4.x, is it conceivable that you could upgrade if there was a hack you wanted to use that required it?

Xorlev 02-16-2007 03:06 AM

Just write it using the XML functions in PHP5 (I assume you mean SimpleXML. Love SimpleXML), if people can't be bothered to do a painless upgrade or find a host that's current to the times then so be it. I've stopped writing in anything but PHP5-required code.

Adrian Schneider 02-16-2007 03:18 AM

vBulletin has its own XML parsing (read/write) class. They aren't nearly as good as the built-in stuff, but they work.

Cap'n Steve 02-16-2007 04:22 AM

I think there are quite a few hosts which only offer PHP 4. It's probably a good idea to keep your requirements the same as vBulletin's, if possible.

Farcaster 02-16-2007 04:44 AM

Quote:

Originally Posted by Xorlev (Post 1183604)
I assume you mean SimpleXML. Love SimpleXML)

I love SimpleXML as well. It is very easy to use, and the object oriented modeling makes it a cinch. I am also considering XMLReader from PHP5, due to its very low memory usage, although it is not nearly as easy to use as SimpleXML.


All times are GMT. The time now is 06:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01651 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete