3v4l.org

run code in 500+ PHP versions simultaneously
<?php $anun = "Անի"; $cnndyan_tiv = "2005-09-15"; $ser = "axchik"; $today_md = date('m-d'); $bday_md = date('m-d', strtotime($cnndyan_tiv)); if ($today_md === $bday_md) { echo "<h1>Happy Birthday, $anun! 🎉</h1>"; if ($ser === "txa") { echo '<div style="font-size: 80px;">🏎️</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/744/744465.png" alt="Car" width="200">'; } elseif ($ser === "axchik") { echo '<div style="font-size: 80px;">💐</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/628/628324.png" alt="Flowers" width="200">'; } } else { echo "<p>Այսօր $anun-ի ծննդյան օրը չէ։</p>"; } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.100.0070.00616.89
8.5.90.0130.00517.11
8.5.80.0130.00816.76
8.5.70.0060.00417.11
8.5.60.0060.00716.68
8.5.50.0060.00416.89
8.5.40.0120.00916.93
8.5.30.0120.00616.79
8.5.20.0120.00716.93
8.5.10.0090.00417.00
8.5.00.0090.00216.88
8.4.250.0120.01119.48
8.4.240.0050.01019.47
8.4.230.0060.00519.67
8.4.220.0060.00419.68
8.4.210.0100.00419.55
8.4.200.0080.01019.72
8.4.190.0160.00619.73
8.4.180.0060.00519.79
8.4.170.0110.00819.68
8.4.160.0150.00519.63
8.4.150.0060.00419.86
8.4.140.0150.00617.97
8.4.130.0090.01217.79
8.4.120.0150.00717.84
8.4.110.0120.00418.09
8.4.100.0050.00618.02
8.4.90.0070.00418.07
8.4.80.0060.00418.06
8.4.70.0070.00717.92
8.4.60.0140.00617.98
8.4.50.0120.01017.98
8.4.40.0070.00517.88
8.4.30.0090.00817.91
8.4.20.0110.00817.97
8.4.10.0030.00718.15
8.3.330.0100.01218.70
8.3.320.0150.01018.75
8.3.310.0080.00618.47
8.3.300.0070.00618.40
8.3.290.0180.00718.65
8.3.280.0070.00618.33
8.3.270.0130.00716.63
8.3.260.0080.00916.73
8.3.250.0140.00616.69
8.3.240.0080.00616.73
8.3.230.0120.00916.74
8.3.220.0050.00416.69
8.3.210.0090.00216.76
8.3.200.0060.00416.95
8.3.190.0120.00816.74
8.3.180.0090.00316.72
8.3.170.0100.00416.88
8.3.160.0070.00516.88
8.3.150.0050.00416.77
8.3.140.0060.00516.62
8.3.130.0070.00316.91
8.3.120.0110.01116.75
8.3.110.0090.00616.77
8.3.100.0060.00316.91
8.3.90.0140.00816.90
8.3.80.0060.00816.69
8.3.70.0080.00916.80
8.3.60.0110.00816.80
8.3.50.0060.00616.91
8.3.40.0100.00618.15
8.3.30.0040.00618.14
8.3.20.0130.00918.07
8.3.10.0080.00518.22
8.3.00.0090.00617.92
8.2.330.0100.00118.18
8.2.320.0020.00818.28
8.2.310.0100.01118.11

preferences:
48.84 ms | 798 KiB | 5 Q