On 7.43 $encode($null,m) reports a line too long error about $encode, 6.35 used to return $null as expected.
Most likely related to the 7.42 fix:
21.Fixed $encode() bug that caused a gpf with input whose encoded output was longer than maximum line length, now triggers "line too long" error.