3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Redirect ke URL yang diinginkan header("Location: https://www.example.com"); // Pastikan untuk menghentikan eksekusi skrip setelah redirect exit(); ?> <?php // Redirect ke URL yang diinginkan header("Location: https://www.example.com"); // Pastikan untuk menghentikan eksekusi skrip setelah redirect exit(); ?>

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.4.20.0370.01117.50
8.4.10.0360.00717.69
8.3.160.0100.01016.80
8.3.150.0280.00516.48
8.3.140.0360.00716.36
8.3.130.0240.00716.40
8.3.120.0260.01016.32
8.3.110.0320.00616.37
8.3.100.0360.00816.31
8.3.90.0340.01116.43
8.3.80.0300.01416.28
8.3.70.0390.00616.29
8.3.60.0290.00316.57
8.3.50.0290.01216.25
8.3.40.0350.00817.33
8.3.30.0200.00517.34
8.3.20.0290.00617.53
8.3.10.0220.00917.41
8.3.00.0150.00117.42
8.2.270.0310.00616.45
8.2.260.0360.00316.42
8.2.250.0280.01116.38
8.2.240.0300.01016.39
8.2.230.0290.00616.44
8.2.220.0250.00316.38
8.2.210.0260.00716.24
8.2.200.0290.00516.36
8.2.190.0330.00616.50
8.2.180.0280.01016.30
8.2.170.0310.01117.49
8.2.160.0300.01317.47
8.2.150.0330.00517.42
8.2.140.0300.00217.39
8.2.130.0360.00517.38
8.2.120.0330.00517.61
8.2.110.0350.00217.32
8.2.100.0310.00717.43
8.2.90.0260.00917.63
8.2.80.0330.00517.31
8.2.70.0330.00717.37
8.2.60.0310.00717.54
8.2.50.0300.00917.40
8.2.40.0270.00817.52
8.2.30.0220.00717.28
8.2.20.0250.01017.29
8.2.10.0240.01317.45
8.2.00.0290.00817.29

preferences:
29.69 ms | 403 KiB | 5 Q