-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scalar type hints v5 #1185
Scalar type hints v5 #1185
Commits on Feb 10, 2015
-
Configuration menu - View commit details
-
Copy full SHA for c3c0f53 - Browse repository at this point
Copy the full SHA c3c0f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75a225d - Browse repository at this point
Copy the full SHA 75a225dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4dd2a9 - Browse repository at this point
Copy the full SHA d4dd2a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13d134 - Browse repository at this point
Copy the full SHA a13d134View commit details -
Configuration menu - View commit details
-
Copy full SHA for a03af7f - Browse repository at this point
Copy the full SHA a03af7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a28ad0 - Browse repository at this point
Copy the full SHA 1a28ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5544e37 - Browse repository at this point
Copy the full SHA 5544e37View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc01e37 - Browse repository at this point
Copy the full SHA cc01e37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02ec357 - Browse repository at this point
Copy the full SHA 02ec357View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe663cc - Browse repository at this point
Copy the full SHA fe663ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca49012 - Browse repository at this point
Copy the full SHA ca49012View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1a2386 - Browse repository at this point
Copy the full SHA e1a2386View commit details -
Configuration menu - View commit details
-
Copy full SHA for b112c13 - Browse repository at this point
Copy the full SHA b112c13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2985944 - Browse repository at this point
Copy the full SHA 2985944View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86b0685 - Browse repository at this point
Copy the full SHA 86b0685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17b3707 - Browse repository at this point
Copy the full SHA 17b3707View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6e8048 - Browse repository at this point
Copy the full SHA c6e8048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 187a95f - Browse repository at this point
Copy the full SHA 187a95fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0af3b7c - Browse repository at this point
Copy the full SHA 0af3b7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbbaea0 - Browse repository at this point
Copy the full SHA cbbaea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7719ab - Browse repository at this point
Copy the full SHA c7719abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6b2b4 - Browse repository at this point
Copy the full SHA 6b6b2b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44ed070 - Browse repository at this point
Copy the full SHA 44ed070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a7ac0f - Browse repository at this point
Copy the full SHA 5a7ac0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0294485 - Browse repository at this point
Copy the full SHA 0294485View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5513cd - Browse repository at this point
Copy the full SHA b5513cdView commit details -
Fixed use after free on the following code
sapi/cli/php -r 'function hello(string $world) : string { var_dump(bin2hex($world)); return $world; } echo "foo" . hello(6) . "\n";'
Configuration menu - View commit details
-
Copy full SHA for d6bea5b - Browse repository at this point
Copy the full SHA d6bea5bView commit details
Commits on Feb 18, 2015
-
2
Configuration menu - View commit details
-
Copy full SHA for 00b3e77 - Browse repository at this point
Copy the full SHA 00b3e77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9109e48 - Browse repository at this point
Copy the full SHA 9109e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2053fa - Browse repository at this point
Copy the full SHA e2053faView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac2ece8 - Browse repository at this point
Copy the full SHA ac2ece8View commit details -
Skip the tests if multibyte isn't loaded to prevent them from being f…
…ragile based on encoding availability
Configuration menu - View commit details
-
Copy full SHA for 37604b4 - Browse repository at this point
Copy the full SHA 37604b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5aaebc - Browse repository at this point
Copy the full SHA d5aaebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6996a2 - Browse repository at this point
Copy the full SHA c6996a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c859079 - Browse repository at this point
Copy the full SHA c859079View commit details
Commits on Feb 20, 2015
-
Configuration menu - View commit details
-
Copy full SHA for dc35868 - Browse repository at this point
Copy the full SHA dc35868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c8d1e0 - Browse repository at this point
Copy the full SHA 7c8d1e0View commit details
Commits on Mar 18, 2015
-
Merge in master, fix merge conflicts and update patch to support exce…
…ptions everywhere
Configuration menu - View commit details
-
Copy full SHA for d22bfb8 - Browse repository at this point
Copy the full SHA d22bfb8View commit details -
Refactor error implementation significantly to centralize error mode …
…behavior. Add zend_internal_type_error() function
Configuration menu - View commit details
-
Copy full SHA for 7feebea - Browse repository at this point
Copy the full SHA 7feebeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9f4f9 - Browse repository at this point
Copy the full SHA dd9f4f9View commit details -
Fix executor issue with ignoring strict types, which cleans up a bunc…
…h of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages
Configuration menu - View commit details
-
Copy full SHA for 0529eeb - Browse repository at this point
Copy the full SHA 0529eebView commit details -
Clean up API renames for zend_wrong_param_count to maintain BC, intro…
…ducing a zend_wrong_param_count_ex() function when you know strict value
Configuration menu - View commit details
-
Copy full SHA for 8be4266 - Browse repository at this point
Copy the full SHA 8be4266View commit details -
Style cleanup, as well as fixing bug with missing argument for WRONG_…
…PARAM_COUNT_WITH_RETVAL
Configuration menu - View commit details
-
Copy full SHA for 579e7fa - Browse repository at this point
Copy the full SHA 579e7faView commit details -
Revert gd and mysqli to former calls for arg count errors. Fix first …
…identified issues with zend_compile.c from nikic. Add tests for generator returns prior to first yield
Configuration menu - View commit details
-
Copy full SHA for 1df033c - Browse repository at this point
Copy the full SHA 1df033cView commit details -
Refactor error messages to only append defined in the event of render…
…ing as a fatal error. Fix relative typehints to not work
Configuration menu - View commit details
-
Copy full SHA for 724f711 - Browse repository at this point
Copy the full SHA 724f711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fe6c4 - Browse repository at this point
Copy the full SHA 94fe6c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f040538 - Browse repository at this point
Copy the full SHA f040538View commit details -
Fix return type separation with references. It now includes a check i…
…n the opcode handler and properly separates the value in both cases
Configuration menu - View commit details
-
Copy full SHA for 427ecdc - Browse repository at this point
Copy the full SHA 427ecdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ef608 - Browse repository at this point
Copy the full SHA d8ef608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d2399 - Browse repository at this point
Copy the full SHA 78d2399View commit details
Commits on Mar 19, 2015
-
Fix severity issues with callbacks, start work porting ZEND_STRLEN op…
…code to work with strict mode, more refactoring to come
Configuration menu - View commit details
-
Copy full SHA for 0ef80ac - Browse repository at this point
Copy the full SHA 0ef80acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7044f9c - Browse repository at this point
Copy the full SHA 7044f9cView commit details -
Add support and tests for null constant default values. Refactor comp…
…lex conditionals into an extracted function for clarity and code-reuse
Configuration menu - View commit details
-
Copy full SHA for 62fc556 - Browse repository at this point
Copy the full SHA 62fc556View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf0c8b - Browse repository at this point
Copy the full SHA aaf0c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c11cab3 - Browse repository at this point
Copy the full SHA c11cab3View commit details -
Reduce the number of times that the zval needs to be separated in ret…
…urn type checking to those that are necessary
Configuration menu - View commit details
-
Copy full SHA for 2e44015 - Browse repository at this point
Copy the full SHA 2e44015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c76c33 - Browse repository at this point
Copy the full SHA 8c76c33View commit details
Commits on Mar 20, 2015
-
Merge branch 'scalar_type_hints_v5' of github.com:ircmaxell/php-src i…
…nto scalar_type_hints_v5 * 'scalar_type_hints_v5' of github.com:ircmaxell/php-src: (54 commits) Add check for maintaining reference all the way through both type and return values Reduce the number of times that the zval needs to be separated in return type checking to those that are necessary Add test to ensure namespaced code can't use scalar types as class names Disallow relative namespace type declarations Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse Refactor as to not use call info, but add the flag to the op_array. Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come Fix C89 compatibility by moving a misplaced if statement Refactor gotos into more elaborate ifs to eliminate goto failure Fix return type separation with references. It now includes a check in the opcode handler and properly separates the value in both cases Add error case with invalid type declaration default value Add tests for using constants as defaults with scalar type declarations Refactor error messages to only append defined in the event of rendering as a fatal error. Fix relative typehints to not work Revert gd and mysqli to former calls for arg count errors. Fix first identified issues with zend_compile.c from nikic. Add tests for generator returns prior to first yield Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH_RETVAL Clean up API renames for zend_wrong_param_count to maintain BC, introducing a zend_wrong_param_count_ex() function when you know strict value Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages Fix more tests, improve error messages in failure output for thrown exception Refactor error implementation significantly to centralize error mode behavior. Add zend_internal_type_error() function Refactor declare placement detection, allow encoding declares before type declares ...
Configuration menu - View commit details
-
Copy full SHA for aee2985 - Browse repository at this point
Copy the full SHA aee2985View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44669e8 - Browse repository at this point
Copy the full SHA 44669e8View commit details -
EX_PREV_USES_STRICT_TYPES() and family changed/renamed to fit with other macros Optimized zend_verify_internal_arg_type() and family (they don't need "strict" argument anymore) Standerd ZPP is called from VM only for weak type check or strict exception (int -> double) Fixed ZEND_RECV_VARIADIC Fixed ZEND_STRLEN TODO: should we accept IS_NULL for non-nullable arguments?
Configuration menu - View commit details
-
Copy full SHA for 5935612 - Browse repository at this point
Copy the full SHA 5935612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cf05ce - Browse repository at this point
Copy the full SHA 7cf05ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f16c6 - Browse repository at this point
Copy the full SHA 66f16c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 054591a - Browse repository at this point
Copy the full SHA 054591aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 139c6c6 - Browse repository at this point
Copy the full SHA 139c6c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cfa4db - Browse repository at this point
Copy the full SHA 1cfa4dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e5767b - Browse repository at this point
Copy the full SHA 4e5767bView commit details -
ZPP changed to lazely check for "strict/weak" only if it's really nec…
…essary. Cleanup.
Configuration menu - View commit details
-
Copy full SHA for 35f9b90 - Browse repository at this point
Copy the full SHA 35f9b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a886a0 - Browse repository at this point
Copy the full SHA 3a886a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f408af - Browse repository at this point
Copy the full SHA 1f408afView commit details