◐ Shell
clean mode source ↗

Fix order of values popped from the operand stack by y-uti · Pull Request #34 · php-java/php-java

In binary operations such as iadd, isub, etc., the order of values popped from the operand stack is wrong. It should be right-to-left order. This PR will do:

  • fix implementations of those instructions
  • add test cases for integer arithmetics, logicals, and branches