Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7516809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:15:02+00:00 2026-05-30T01:15:02+00:00

Please could someone confirm how many parameters are being sent to error_reporting() in the

  • 0

Please could someone confirm how many parameters are being sent to error_reporting() in the code: error_reporting(E_ALL | E_STRICT);

My assumption is that there is only one parameter which is the result of a bit wise OR of the two constants in the brackets.

I’d just like to be sure that this is not an alternative way to send multiple parameters to a function (i.e. alternative to using ,). Or it’s not doing something funky like sending a array containing both constants as a single parameter?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:15:04+00:00Added an answer on May 30, 2026 at 1:15 am

    You’re correct in your first assumption; it’s a bitwise OR between E_ALL and E_STRICT. When I run the following code:

    echo 'E_ALL: ' . decbin(E_ALL) . '<br>';
    echo 'E_STRICT: ' . decbin(E_STRICT) . '<br>';
    

    I get this:

    E_ALL: 111011111111111
    E_STRICT: 100000000000
    

    Which results in

    111111111111111
    

    When bitwise ORed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone please confirm that the following is a bug with PHP 5.2.13: (thank
Could someone please be kind enough to confirm if I have understood the Async
Please could someone provide me with a simple extension method that for example squares
Please could someone help im building my first website that pulls info from a
Please could someone help diagnose this tiny problem that shouldn't be one - trying
I came across this code today and don't really understand it. Please could someone
Please could someone post an example of how to check if an element exists
Could someone please demystify interfaces for me or point me to some good examples?
Could someone please tell me which objects types can be tested using Regular Expressions
Could someone please explain the best way to connect to an Interbase 7.1 database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.