3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phpVersion = phpversion(); $cleansedstring = preg_replace("/[^A-Za-z0-9]/", "", $phpVersion); echo $cleansedstring;
based on Depqm
Output for 7.2.0
720
Output for 7.1.10
7110
Output for 7.1.7
717
Output for 7.1.6
716
Output for 7.1.5
715
Output for 7.1.0
710
Output for 7.0.20
7020
Output for 7.0.6
706
Output for 7.0.5
705
Output for 7.0.4
704
Output for 7.0.3
703
Output for 7.0.2
702
Output for 7.0.1
701
Output for 7.0.0
700
Output for 5.6.28
5628
Output for 5.6.21
5621
Output for 5.6.20
5620
Output for 5.6.19
5619
Output for 5.6.18
5618
Output for 5.6.17
5617
Output for 5.6.16
5616
Output for 5.6.15
5615
Output for 5.6.14
5614
Output for 5.6.13
5613
Output for 5.6.12
5612
Output for 5.6.11
5611
Output for 5.6.10
5610
Output for 5.6.9
569
Output for 5.6.8
568
Output for 5.5.35
5535
Output for 5.5.34
5534
Output for 5.5.33
5533
Output for 5.5.32
5532
Output for 5.5.31
5531
Output for 5.5.30
5530
Output for 5.5.29
5529
Output for 5.5.28
5528
Output for 5.5.27
5527
Output for 5.5.26
5526
Output for 5.5.25
5525
Output for 5.5.24
5524
Output for 5.4.45
5445
Output for 5.4.44
5444
Output for 5.4.43
5443
Output for 5.4.42
5442
Output for 5.4.41
5441
Output for 5.4.40
5440
Output for 5.4.39
5439
Output for 5.4.38
5438
Output for 5.4.37
5437
Output for 5.4.36
5436
Output for 5.4.35
5435
Output for 5.4.34
5434
Output for 5.4.32
5432
Output for 5.4.31
5431
Output for 5.4.30
5430
Output for 5.4.29
5429
Output for 5.4.28
5428
Output for 5.4.27
5427
Output for 5.4.26
5426
Output for 5.4.25
5425
Output for 5.4.24
5424
Output for 5.4.23
5423
Output for 5.4.22
5422
Output for 5.4.21
5421
Output for 5.4.20
5420
Output for 5.4.19
5419
Output for 5.4.18
5418
Output for 5.4.17
5417
Output for 5.4.16
5416
Output for 5.4.15
5415
Output for 5.4.14
5414
Output for 5.4.13
5413
Output for 5.4.12
5412
Output for 5.4.11
5411
Output for 5.4.10
5410
Output for 5.4.9
549
Output for 5.4.8
548
Output for 5.4.7
547
Output for 5.4.6
546
Output for 5.4.5
545
Output for 5.4.4
544
Output for 5.4.3
543
Output for 5.4.2
542
Output for 5.4.1
541
Output for 5.4.0
540
Output for 5.3.29
5329
Output for 5.3.28
5328
Output for 5.3.27
5327
Output for 5.3.26
5326
Output for 5.3.25
5325
Output for 5.3.24
5324
Output for 5.3.23
5323
Output for 5.3.22
5322
Output for 5.3.21
5321
Output for 5.3.20
5320
Output for 5.3.19
5319