[ create a new paste ] login | about

Link: http://codepad.org/iC1MNkq7    [ raw code | output | fork ]

PHP, pasted on Oct 26:
1
2
3
4
5
<?php

var_dump( urlencode( '$a = 1 + 2 + 3 − 4 + 5;' ) );
var_dump( urlencode( '$a = 1 + 2 + 3 - 4 + 5;' ) );
//                                   ^


Output:
1
2
string(43) "%24a+%3D+1+%2B+2+%2B+3+%E2%88%92+4+%2B+5%3B"
string(35) "%24a+%3D+1+%2B+2+%2B+3+-+4+%2B+5%3B"


Create a new paste based on this one


Comments: