title: Creating a web service in PHP
body: <p>I would like to create a web service in PHP which can be consumed by different consumers (Web page, Android device, iOS device).</p>
  
  <p>I come from a Microsoft background so am confortable in how I would do it in C# etc.  Ideally I would like to be able to provide a REST service which can send JSON.</p>
  
  <p>Can you let me know how I can achieve this in PHP?  </p>
  
  <p>Thanks</p>
  
  <p>Tariq</p>