HIPPO can't throw InvalidArgumentException on argument errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Current vast amounts of methods change the default PHP error handling that throws a warning to throwing exceptions. This should not be done because:

      • PHP's general error handling for nearly any function or method, albeit in core or in an extension doesn't do this
      • It is incompatible with HHVM's error handling. In HHVM, the parameter parsing happens before the (native) C-function is entered. This makes it impossible to convert warnings to exceptions, even if we wanted to.

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Derick Rethans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: