What kind of blasphemy law Iran and Pakistan have?
I'm surprised you don't know. Many Islamic countries have apostasy and blasphemy laws that varies.
In Iran :
On 9 June 2009, the singer Mohsen Namjoo was sentenced
in absentia to a five-year jail term for ridiculing the Quran in a song. In 2008, Namjoo had apologized for the song, which he claimed was never meant for public release.
[6]
In March 2009, Iranian blogger Omid Mirsayafi died in prison while serving a 30-month sentence for propaganda against the state and criticism of religious leaders. The authorities said Mirsayafi committed suicide.
[1]
In February 2009, the Iranian government launched a campaign against Mohammad Mojtehed Shabestari, a Shia Muslim cleric, for blasphemy. Shabestari's blasphemy was to say in a speech: “If in a society the three concepts of God, power, and authority are mixed up, a political-religious despotism will find strong roots. ... and the people will suffer greatly.”
[7]
In May 2007, authorities arrested eight students at Tehran's Amir Kabir University. The students were associated with a newspaper which had published articles suggesting that no humans were infallible, including
Prophet Muhammad.
[8]
In October 2006, Ayatollah
Hossein Kazemeyni Boroujerdi, a senior Shia cleric who advocates the separation of religion and state, and a number of his followers were arrested and imprisoned after clashes with riot police. He and seventeen of his followers were initially sentenced to death, but the death sentences were later withdrawn. In August 2007, he was sentenced to one year in prison in Tehran followed by another ten years in prison in another part of the country.
[1]
https://en.m.wikipedia.org/wiki/Blasphemy_law_in_Iran
For Pakistan it's very well known (that's the one many people in the world know more about)
For other countries its less known:
Saudi Arabia
https://en.m.wikipedia.org/wiki/Blasphemy_law_in_Saudi_Arabia
Egypt
https://en.m.wikipedia.org/wiki/Blasphemy_law_in_Egypt
Algeria
https://en.m.wikipedia.org/wiki/Blasphemy_law_in_Algeria
Afghanistan
https://en.m.wikipedia.org/wiki/Blasphemy_law_in_Afghanistan
There are also others in Jordan, Bahrain, Yemen, Kuwait, Somalia and many other Islamic countries etc
Turkey(and Tunisia) seems to be the outcast/exception as in many cases.