Implement queue using 2 stacks
<p>Can anyone tell me.   how to implement queue using 2 stacks.
Specifically, implement the enqueue and dequeuer methods.</p>

<p>it will helpful if you guys tell me in php or JavaScript programming </p>