3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo getmypid(); ?>
Output for 7.1.0
17837
Output for 7.0.14
3398
Output for 7.0.7
1426
Output for 7.0.6
1428
Output for 7.0.5
1436
Output for 7.0.4
1440
Output for 7.0.3
1444
Output for 7.0.2
1447
Output for 7.0.1
1448
Output for 7.0.0
1450
Output for hhvm-3.12.0
1441
Output for hhvm-3.10.0
1453
Output for 5.6.28
2021
Output for 5.6.22
1424
Output for 5.6.21
1427
Output for 5.6.20
1435
Output for 5.6.19
1438
Output for 5.6.18
1442
Output for 5.6.17
1446
Output for 5.6.16
1451
Output for 5.6.15
1452
Output for 5.6.14
1455
Output for 5.6.13
1456
Output for 5.6.12
1462
Output for 5.6.11
1463
Output for 5.6.10
1466
Output for 5.6.9
1470
Output for 5.6.8
1473
Output for 5.6.7
1476
Output for 5.6.6
1480
Output for 5.6.5
1484
Output for 5.6.4
1487
Output for 5.6.3
1489
Output for 5.6.2
1493
Output for 5.6.1
1494
Output for 5.6.0
1495
Output for 5.5.36
1425
Output for 5.5.35
1429
Output for 5.5.34
1434
Output for 5.5.33
1439
Output for 5.5.32
1443
Output for 5.5.31
1445
Output for 5.5.30
1454
Output for 5.5.29
1457
Output for 5.5.28
1460
Output for 5.5.27
1464
Output for 5.5.26
1468
Output for 5.5.25
1471
Output for 5.5.24
1474
Output for 5.5.23
1478
Output for 5.5.22
1481
Output for 5.5.21
1482
Output for 5.5.20
1486
Output for 5.5.19
1490
Output for 5.5.18
1491
Output for 5.5.16
1496
Output for 5.5.15
1500
Output for 5.5.14
1501
Output for 5.5.13
1504
Output for 5.5.12
1506
Output for 5.5.11
1508
Output for 5.5.10
1510
Output for 5.5.9
1511
Output for 5.5.8
1513
Output for 5.5.7
1516
Output for 5.5.6
1519
Output for 5.5.5
1520
Output for 5.5.4
1523
Output for 5.5.3
1525
Output for 5.5.2
1526
Output for 5.5.1
1528
Output for 5.5.0
1531
Output for 5.4.45
1458
Output for 5.4.44
1461
Output for 5.4.43
1465
Output for 5.4.42
1467
Output for 5.4.41
1469
Output for 5.4.40
1475
Output for 5.4.39
1477
Output for 5.4.38
1479
Output for 5.4.37
1483
Output for 5.4.36
1485
Output for 5.4.35
1488
Output for 5.4.34
1492
Output for 5.4.32
1497
Output for 5.4.31
1499
Output for 5.4.30
1502
Output for 5.4.29
1503
Output for 5.4.28
1505
Output for 5.4.27
1507
Output for 5.4.26
1509
Output for 5.4.25
1512
Output for 5.4.24
1514
Output for 5.4.23
1515
Output for 5.4.22
1518
Output for 5.4.21
1521
Output for 5.4.20
1522
Output for 5.4.19
1524
Output for 5.4.18
1527
Output for 5.4.17
1530
Output for 5.4.16
1532
Output for 5.4.15
1535
Output for 5.4.14
1536
Output for 5.4.13
1538
Output for 5.4.12
1540
Output for 5.4.11
1543
Output for 5.4.10
1545
Output for 5.4.9
1546
Output for 5.4.8
1549
Output for 5.4.7
1551
Output for 5.4.6
1552
Output for 5.4.5
1555
Output for 5.4.4
1557
Output for 5.4.3
1558
Output for 5.4.2
1561
Output for 5.4.1
1563
Output for 5.4.0
1564
Output for 5.3.29
1498
Output for 5.3.28
1517
Output for 5.3.27
1529
Output for 5.3.26
1533
Output for 5.3.25
1534
Output for 5.3.24
1537
Output for 5.3.23
1539
Output for 5.3.22
1541
Output for 5.3.21
1542
Output for 5.3.20
1544
Output for 5.3.19
1547
Output for 5.3.18
1548
Output for 5.3.17
1550
Output for 5.3.16
1553
Output for 5.3.15
1554
Output for 5.3.14
1556
Output for 5.3.13
1559
Output for 5.3.12
1560
Output for 5.3.11
1562
Output for 5.3.10
1565
Output for 5.3.9
1566
Output for 5.3.8
1567
Output for 5.3.7
1568
Output for 5.3.6
1569
Output for 5.3.5
1570
Output for 5.3.4
1573
Output for 5.3.3
1575
Output for 5.3.2
1577
Output for 5.3.1
1580
Output for 5.3.0
1582
Output for 5.2.17
1571
Output for 5.2.16
1572
Output for 5.2.15
1574
Output for 5.2.14
1576
Output for 5.2.13
1578
Output for 5.2.12
1579
Output for 5.2.11
1581
Output for 5.2.10
1583
Output for 5.2.9
1584
Output for 5.2.8
1585
Output for 5.2.7
1586
Output for 5.2.6
1588
Output for 5.2.5
1590
Output for 5.2.4
1591
Output for 5.2.3
1592
Output for 5.2.2
1593
Output for 5.2.1
1597
Output for 5.2.0
1598
Output for 5.1.6
1599
Output for 5.1.5
1601
Output for 5.1.4
1603
Output for 5.1.3
1604
Output for 5.1.2
1605
Output for 5.1.1
1607
Output for 5.1.0
1608
Output for 5.0.5
1610
Output for 5.0.4
1612
Output for 5.0.3
1614
Output for 5.0.2
1616
Output for 5.0.1
1618
Output for 5.0.0
1619
Output for 4.4.9
1587
Output for 4.4.8
1589
Output for 4.4.7
1594
Output for 4.4.6
1595
Output for 4.4.5
1596
Output for 4.4.4
1600
Output for 4.4.3
1602
Output for 4.4.2
1606
Output for 4.4.1
1609
Output for 4.4.0
1611
Output for 4.3.11
1613
Output for 4.3.10
1615
Output for 4.3.9
1617
Output for 4.3.8
1620
Output for 4.3.7
1621
Output for 4.3.6
1622
Output for 4.3.5
1623
Output for 4.3.4
1624
Output for 4.3.3
1625
Output for 4.3.2
1626
Output for 4.3.1
1627
Output for 4.3.0
1628