Use this:
$ diff -u 1.php 1a.php > customizations.patch
This will give you a uniform spread of all changes between your vanilla and a personalized copy of version 1.0 of the file.
, 2.php, :
$ patch -p0 2.php customizations.patch
, , , , , . , diff , .
, , , . , , , . , , , , diff patch.
, ; , diff ( ) . , , , , .