3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phpVersion = phpversion(); $cleansedstring = ereg_replace("[^A-Za-z0-9]", "", $phpVersion); echo $cleansedstring;
based on vni1l
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /in/pOYYt:4 Stack trace: #0 {main} thrown in /in/pOYYt on line 4
Process exited with code 255.
Output for 5.6.28
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5628
Output for 5.6.21
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5621
Output for 5.6.20
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5620
Output for 5.6.19
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5619
Output for 5.6.18
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5618
Output for 5.6.17
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5617
Output for 5.6.16
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5616
Output for 5.6.15
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5615
Output for 5.6.14
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5614
Output for 5.6.13
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5613
Output for 5.6.12
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5612
Output for 5.6.11
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5611
Output for 5.6.10
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5610
Output for 5.6.9
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 569
Output for 5.6.8
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 568
Output for 5.5.35
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5535
Output for 5.5.34
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5534
Output for 5.5.33
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5533
Output for 5.5.32
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5532
Output for 5.5.31
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5531
Output for 5.5.30
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5530
Output for 5.5.29
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5529
Output for 5.5.28
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5528
Output for 5.5.27
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5527
Output for 5.5.26
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5526
Output for 5.5.25
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5525
Output for 5.5.24
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5524
Output for 5.4.45
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5445
Output for 5.4.44
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5444
Output for 5.4.43
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5443
Output for 5.4.42
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5442
Output for 5.4.41
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5441
Output for 5.4.40
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5440
Output for 5.4.39
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5439
Output for 5.4.38
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5438
Output for 5.4.37
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5437
Output for 5.4.36
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5436
Output for 5.4.35
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5435
Output for 5.4.34
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5434
Output for 5.4.32
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5432
Output for 5.4.31
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5431
Output for 5.4.30
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5430
Output for 5.4.29
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5429
Output for 5.4.28
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5428
Output for 5.4.27
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5427
Output for 5.4.26
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5426
Output for 5.4.25
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5425
Output for 5.4.24
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5424
Output for 5.4.23
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5423
Output for 5.4.22
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5422
Output for 5.4.21
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5421
Output for 5.4.20
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5420
Output for 5.4.19
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5419
Output for 5.4.18
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5418
Output for 5.4.17
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5417
Output for 5.4.16
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5416
Output for 5.4.15
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5415
Output for 5.4.14
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5414
Output for 5.4.13
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5413
Output for 5.4.12
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5412
Output for 5.4.11
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5411
Output for 5.4.10
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5410
Output for 5.4.9
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 549
Output for 5.4.8
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 548
Output for 5.4.7
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 547
Output for 5.4.6
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 546
Output for 5.4.5
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 545
Output for 5.4.4
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 544
Output for 5.4.3
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 543
Output for 5.4.2
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 542
Output for 5.4.1
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 541
Output for 5.4.0
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 540
Output for 5.3.29
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5329
Output for 5.3.28
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5328
Output for 5.3.27
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5327
Output for 5.3.26
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5326
Output for 5.3.25
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5325
Output for 5.3.24
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5324
Output for 5.3.23
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5323
Output for 5.3.22
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5322
Output for 5.3.21
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5321
Output for 5.3.20
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5320
Output for 5.3.19
Deprecated: Function ereg_replace() is deprecated in /in/pOYYt on line 4 5319