Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1721

Type and value mismatch

    XMLWordPrintableJSON

Details

    Description

      I have a strict comparison in PHP telling it should be a boolean false value, but the debugger shows integer 0, but the type is correct in the type column.

       

      Please see attached image.

       

      PHP 7.2.11-3+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct 25 2018 06:44:08) ( NTS )
      Copyright (c) 1997-2018 The PHP Group
      Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
      with Zend OPcache v7.2.11-3+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
      with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans

      Attachments

        1. type-and-value-mismatch.PNG
          53 kB
          Bo Andersen
        2. image-2020-06-09-23-22-54-858.png
          7 kB
          Tomáš Procházka

        Issue Links

          Activity

            People

              Kacer Tomáš Procházka
              Cruiser Bo Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m