Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 API for PHP Documentation | 2025.2

# Class P4_MergeData

## Description

Class containing the context for an individual merge during execution of a `p4 resolve`.

## Properties

### $md->your_name -> string

Returns the name of "your" file in the merge. This is typically a path to a file in the workspace.

### $md->their_name -> string

Returns the name of "their" file in the merge. This is typically a path to a file in the depot.

### $md->base_name -> string

Returns the name of the "base" file in the merge. This is typically a path to a file in the depot.

### $md->your_path -> string

Returns the path of "your" file in the merge. This is typically a path to a file in the workspace.

### $md->their_path -> string

Returns the path of "their" file in the merge. This is typically a path to a temporary file on your local machine in which the contents of `their_name` have been loaded.

### $md->base_path -> string

Returns the path of the base file in the merge. This is typically a path to a temporary file on your local machine in which the contents of `base_name` have been loaded.

### $md->result_path -> string

Returns the path to the merge result. This is typically a path to a temporary file on your local machine in which the contents of the automatic merge performed by the server have been loaded.

### $md->merge_hint -> string

Returns the hint from the server as to how it thinks you might best resolve this merge.

Your search for returned results