I've started getting

/home/nilsson/pike/lib/modules/String.pmod/module.pmod:98: Warning: An
expression of type string | int | !mixed cannot be assigned to a
variable of type int.

after the changes in there. It should be possible to work out that

  int sz = min(@map(strs, sizeof));

is always the correct type.
  • strict type... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • strict... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • st... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum

Reply via email to