3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tokens = token_get_all('<?php $a = 1 + 2; echo $a ?>'); foreach($tokens as $token) { echo $token[0]; }
Output for 7.0.0 - 7.1.0
379320382=382317382+382317;382328382320382381
Output for 5.3.0 - 5.3.29, hhvm-3.10.0 - 3.12.0
368309371=371305371+371305;371316371309371370
Output for 5.6.0 - 5.6.28
376312379=379308379+379308;379319379312379378
Output for 5.5.0 - 5.5.36
374310377=377306377+377306;377317377310377376
Output for 5.4.0 - 5.4.45
372309375=375305375+375305;375316375309375374
Output for 5.1.0 - 5.2.17
367309370=370305370+370305;370316370309370369
Output for 5.0.0 - 5.0.5
365308368=368304368+368304;368315368308368367
Output for 4.4.2 - 4.4.9
354307357=357303357+357303;357314357307357356
Output for 4.3.0 - 4.4.1
353306356=356302356+356302;356313356306356355