• About Us
  • Contact Us
  • Disclaimer
  • Home
  • Privacy Policy
  • Terms & Conditions
No Result
View All Result
  • Login
NEWSORZO
  • Home
  • Technology
  • Emerging technologies
  • Trend in IT
  • Business
  • Home
  • Technology
  • Emerging technologies
  • Trend in IT
  • Business
No Result
View All Result
NEWSORZO
No Result
View All Result
Home Trend in IT

PHP 8.2 introduces read-only courses

by support team
December 14, 2022
0
325
SHARES
2.5k
VIEWS
Share on FacebookShare on Twitter


A serious replace to the stalwart scripting language for internet improvement, PHP 8.2 has arrived with efficiency, syntax, and sort security enhancements together with new capabilities reminiscent of read-only courses and stand-alone varieties.

PHP 8.2 was printed December 8 and could be accessed from php.net.

Help for read-only courses in PHP 8.2 signifies that a category marked with the readonly modifier will mark all occasion properties of the category as read-only and forestall the creation of dynamic properties. Marking readonly courses with the AllowDynamicProperties attribute triggers a compile error.

The addition of null, false, and true as stand-alone varieties in PHP 8.2 is described as a “programming enhancement.” The null sort corresponds to PHP’s unit sort (the kind that holds a single worth) whereas false and true are literal varieties of sort bool. These modifications promote sort system completeness and serve quite a lot of edge circumstances.

In different enhancements in PHP 8.2:

  • Disjunctive regular kind (DNF) varieties allow the mix of union and intersection varieties, following a strict rule that claims when combining union and intersection varieties, intersection varieties have to be grouped with brackets.
  • A “random” extension gives an object-oriented API to random quantity technology.
  • The creation of dynamic properties has been deprecated, to assist keep away from errors and typos, except the category opts in by utilizing the AllowDynamicProperties attribute; stdclass permits dynamic properties.
  • New courses, interfaces, and features are featured, reminiscent of a msqli_execute_query operate and a SensitiveParameter attribute.
  • Constants now could be outlined in traits.
  • The ${} string interpolation has been deprecated.

PHP 8.1, which featured new capabilities relating to enums, syntax, and read-only properties, arrived in November 2021. It was adopted by a number of level releases.

Copyright © 2022 IDG Communications, Inc.



Source link –

Tags: classesIntroducesPHPreadonly
Previous Post

sugar export: Sugar millers await value to agency up earlier than fulfilling export quota

Next Post

Cuba Ransomware Gang Abused Microsoft Certificates to Signal Malware

support team

support team

Next Post
Cuba Ransomware Gang Abused Microsoft Certificates to Signal Malware

Cuba Ransomware Gang Abused Microsoft Certificates to Signal Malware

No Result
View All Result

Categories

  • Business (1,488)
  • Emerging technologies (1,438)
  • sports 1 (695)
  • Technology (637)
  • Trend in IT (757)

Recent.

JTrain wins tender to construct Jerusalem mild rail Blue Line

JTrain wins tender to construct Jerusalem mild rail Blue Line

September 22, 2023
Pi-Pop is the primary electrical bike that doesn’t have a battery

Pi-Pop is the primary electrical bike that doesn’t have a battery

September 22, 2023
Elon Musk’s Tesla proposes organising battery storage manufacturing unit in India: Report

Elon Musk’s Tesla proposes organising battery storage manufacturing unit in India: Report

September 22, 2023
NEWSORZO

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

Navigate Site

  • About Us
  • Contact Us
  • Disclaimer
  • Home
  • Privacy Policy
  • Terms & Conditions

Follow Us

No Result
View All Result
  • About Us
  • Contact Us
  • Disclaimer
  • Home
  • Privacy Policy
  • Terms & Conditions

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT