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

September 25, 2024

1 min read

PHPCamp Online - September 2024 Edition

The third instalment of PHPCamp Online offered a comprehensive look into PHP sessions and the WordPress HTML API. Attendees learned about securing PHP sessions from attacks, exploring the WordPress HTML...

Blog image

August 06, 2024

1 min read

PHPCamp Online: August 2024 Edition

The August edition of the PHPCamp online event was a hit! We had a great time hanging out with fellow PHP lovers from all over the country. Let’s...