• 11th April 2008 - By Taha Paksu

    PHP4 için SimpleXML fonksiyonu ararken diğer yazılmış XML okuyucu classlar dışında pek birşey bulamadım ve en iyisi kendim yazıyım dedim. Nerden başlasam ne etsem derken deneye deneye bu script ortaya çıktı ve PHP5′in simpleXML’i kadar hızlı olmasada aynı işi yapabiliyor. Koda ihtiyacı olanlar için aşağıya ekledim.

    Briefly in English:
    I wrote a simple script recently that works like simplexml on PHP4 and uses the PHP XML Parser to get local or remote files. It works a little slower than simplexml and maybe we could change foreach to for cycles. and that outputs directly an array not an object so we can use it without any object2array functions.

    I moved the codes and the example file to
    http://www.phpclasses.org/browse/package/4484.html

    so check the address for further updates, bug reports etc.



    Yazıyı Paylaş:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • Live
    • Slashdot
    • StumbleUpon
    • Technorati
    • Furl
    • NewsVine
    • Pownce
    • Reddit
    • SphereIt
    • Spurl
    • TwitThis

  • 4 Responses to “SimpleXML for PHP4”

    Leave a Reply


Ad