3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo PHP_VERSION_ID;
Output for 7.1.0
70100
Output for 7.0.14
70014
Output for 7.0.6
70006
Output for 7.0.5
70005
Output for 7.0.4
70004
Output for 7.0.3
70003
Output for 7.0.2
70002
Output for 7.0.1
70001
Output for 7.0.0
70000
Output for 5.6.21
50621
Output for 5.6.20
50620
Output for 5.6.19
50619
Output for 5.6.18
50618
Output for 5.6.17
50617
Output for 5.6.16
50616
Output for 5.6.15
50615
Output for 5.6.14
50614
Output for 5.6.13
50613
Output for 5.6.12
50612
Output for 5.6.11
50611
Output for 5.6.10
50610
Output for 5.6.9
50609
Output for 5.6.8
50608
Output for 5.5.35
50535
Output for 5.5.34
50534
Output for 5.5.33
50533
Output for 5.5.32
50532
Output for 5.5.31
50531
Output for 5.5.30
50530
Output for 5.5.29
50529
Output for 5.5.28
50528
Output for 5.5.27
50527
Output for 5.5.26
50526
Output for 5.5.25
50525
Output for 5.5.24
50524
Output for 5.4.45
50445
Output for 5.4.44
50444
Output for 5.4.43
50443
Output for 5.4.42
50442
Output for 5.4.41
50441
Output for 5.4.40
50440
Output for 5.4.39
50439
Output for 5.4.38
50438
Output for 5.4.37
50437
Output for 5.4.36
50436
Output for 5.4.35
50435
Output for 5.4.34
50434
Output for 5.4.32
50432
Output for 5.4.31
50431
Output for 5.4.30
50430
Output for 5.4.29
50429
Output for 5.4.28
50428
Output for 5.4.27
50427
Output for 5.4.26
50426
Output for 5.4.25
50425
Output for 5.4.24
50424
Output for 5.4.23
50423
Output for 5.4.22
50422
Output for 5.4.21
50421
Output for 5.4.20
50420
Output for 5.4.19
50419
Output for 5.4.18
50418
Output for 5.4.17
50417
Output for 5.4.16
50416
Output for 5.4.15
50415
Output for 5.4.14
50414
Output for 5.4.13
50413
Output for 5.4.12
50412
Output for 5.4.11
50411
Output for 5.4.10
50410
Output for 5.4.9
50409
Output for 5.4.8
50408
Output for 5.4.7
50407
Output for 5.4.6
50406
Output for 5.4.5
50405
Output for 5.4.4
50404
Output for 5.4.3
50403
Output for 5.4.2
50402
Output for 5.4.1
50401
Output for 5.4.0
50400