There are thousands of dual opamps with the same pinout; it is an (unwritten) international standard.
As above, there is much more to an acceptable substitute than just the pinout. The LM358 has input, output, and power characteristics that are *not* standard, and neither of the two parts you...