At stumps, Pakistan have been 17/2, leaving with a primary innings deficit of 245 runs.
Philander fought again by way of taking the 2 consecutive wickets of Shan Masood (2) and Azhar Ali (0) fell earlier than the tip of the primary day’s play.
Opener Imam-ul-Haq (10*) and nightwatchman Mohammad Abbas (0*) will resume on Day 2 in Johannesburg. Play begins at 10:00.
Previous within the day, opener Aiden Markram stood tall for the Proteas on best as he scored 90 in 124 balls and fell 10 runs in need of a century as he was once stuck at the back of off the bowling of Faheem Ashraf.
Markram smashed 16 fours in his innings and shared a 126-run 2nd wicket partnership with Hashim Amla earlier than shedding his wicket.
Really extensive contributions from Hashim Amla (41), Theunis de Bruyn (49) and debutant Zubayr Hamza (41) suggested the Proteas to a commanding place at 226/Three at tea.
Then again, the house facet misplaced seven wickets for 36 runs in 19.four overs after tea, with the wickets shared between Pakistan’s 4 seamers.
Mohammad Amir completed with two for 36, Mohammad Abbas took two for 44, Hasan Ali took two for 75 and Ashraf claimed 3 for 57.
The Proteas have been sooner or later bundled out for 262 in 77.four overs after stand-in skipper Dean Elgar selected to bat first.
Ratings briefly after Day 1:
South Africa 262 (Markram 90, De Bruyn 49, Ashraf 3/57, Amir 2/36)
Pakistan 17/2 (Imam-ul-Haq 10*, Masood 2, Philander 2/1)
South Africa gained the toss and opted to bat first