Help with parent/child themes

Any files that are uploaded to the child theme automatically override those in the parent theme as the child theme loads before the parent. This technique can be used for any files and folders within the parent theme — but you must re-create the same folder and filenames structure in your child theme that exist in the parent theme folder.

Is it only CSS files in the child that override, and not PHP?