Resources mentioned in PHP Core Improvements

Resources mentioned in PHP Core Improvements featured image
Amit Singh
Amit Singh

June 14, 2024


Here is the links and code that Ramesh Jangid shared in his talk ‘PHP Core Improvements‘ at PHPCamp 2024.

  1. Performance comparison PHP vs Node.js
  2. Heavy JsonEncode
  3. Heavy JsonDecode
  4. Buffered and Unbuffered queries
  5. No limit rows CSV export.

Code sample for Async principles of JavaScript

<html>
    <head>

    </head>
    <body>
        <div></div>
        <script>
            function loadDoc() {
                // Create an XMLHttpRequest object
                const xhttp = new XMLHttpRequest();

                // Define a callback function
                xhttp.onload = function() {
                // Here you can use the Data
                }
                xhttp.onreadystatechange = function() {
                    if (this.readyState == 4 && this.status == 200) {
                        alert('AJAX Response');
                    }
                };

                // Send a request
                xhttp.open("GET", "ajax_info.txt");
                xhttp.send();
            };
            function test()
            {
                loadDoc();
                alert('Hello world');
            }
            test();
        </script>
    </body>
</html>



RELATED NEWS

You Might Be Interested

Blog image

July 15, 2024

1 min read

PHPCamp Online #1: We Had a Blast!

Hey PHP fans! Guess what? Our first-ever PHPCamp online event was a hit! We had a great time hanging out with fellow PHP lovers from all over the country...

Blog image

June 29, 2024

1 min read

PHPCamp Online: New Series of Online Meetups

Hey, PHPCampers! 👋 Remember the fun we had at PHPCamp 2024? Well, guess what? We’re bringing that magic to your screens every month! Introducing PHPCamp 🟢nline A virtual hangout...