3v4l.org

run code in 500+ PHP versions simultaneously
<?php $examples = [ 'Understanding vector<int> in Modern C++', 'Why "<spoiler>" Became Internet Slang', 'The Rise of <headless> CMS Architecture', 'Using <T> and <K, V> in Generic Programming', 'The Hacker Known as <null>', ]; foreach ($examples as $s) { echo "Original : $s\n"; echo "Stripped : " . strip_tags($s) . "\n"; echo str_repeat('-', 50) . "\n"; }

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.60.0130.00516.62
8.5.50.0110.00618.32
8.5.30.0300.01016.73
8.5.20.0340.00716.73
8.5.10.0390.00516.73
8.5.00.0110.00816.73
8.4.210.0100.01019.30
8.4.180.0160.00619.47
8.4.170.0330.00819.43
8.4.160.0300.01419.57
8.4.150.0330.01119.56
8.4.140.0330.00817.26
8.4.130.0310.00517.26
8.4.120.0230.00417.51
8.4.110.0200.00217.84
8.4.100.0360.00717.60
8.4.90.0320.00817.75
8.4.80.0350.01117.56
8.4.70.0340.01217.69
8.4.60.0360.01017.53
8.4.50.0410.00417.68
8.4.40.0400.00817.27
8.4.30.0360.01217.58
8.4.20.0340.00717.56
8.4.10.0360.01317.59
8.3.300.0380.00818.28
8.3.290.0300.00918.45
8.3.280.0300.01018.09
8.3.270.0340.00916.73
8.3.260.0390.00416.73
8.3.250.0330.00916.73
8.3.240.0370.00916.73
8.3.230.0370.00916.73
8.3.220.0400.00716.73
8.3.210.0440.00616.73
8.3.200.0300.00916.73
8.3.190.0260.00816.73
8.3.180.0310.00916.73
8.3.170.0360.00616.73
8.3.160.0380.00916.73
8.3.150.0220.00716.73
8.3.140.0140.00616.73
8.3.130.0140.00716.73
8.3.120.0140.00416.73
8.3.110.0150.00316.73
8.3.100.0170.00416.73
8.3.90.0190.00216.73
8.3.80.0160.00516.73
8.3.70.0380.00616.73
8.3.60.0320.00916.73
8.3.50.0420.00716.73
8.3.40.0260.00917.90
8.3.30.0150.00517.73
8.3.20.0260.00917.75
8.3.10.0290.00617.83
8.3.00.0290.00817.76

preferences:
44.24 ms | 752 KiB | 5 Q