3v4l.org

run code in 300+ PHP versions simultaneously
<?php header_register_callback(function(){ $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); foreach($backtrace as $frame){ if(isset($frame['file'], $frame['line'])){ echo "Output started: {$frame['file']}:{$frame['line']}\n"; break; } } }); echo "data";

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.10.0100.00819.63
8.5.00.0090.01222.89
8.4.150.0020.00114.05
8.4.140.0130.00817.72
8.4.130.0120.00818.30
8.4.120.0140.00717.79
8.4.110.0130.00820.46
8.4.100.0110.00917.74
8.4.90.0110.01020.42
8.4.80.0060.00318.79
8.4.70.0090.00917.89
8.4.60.0060.00418.73
8.4.50.0110.01018.68
8.4.40.0130.00719.41
8.4.30.0170.00320.57
8.4.20.0160.00319.63
8.4.10.0060.00323.84
8.3.280.0110.00918.39
8.3.270.0100.00916.62
8.3.260.0020.00716.73
8.3.250.0150.00516.51
8.3.240.0130.00516.58
8.3.230.0050.00416.54
8.3.220.0100.00818.80
8.3.210.0100.00816.73
8.3.200.0060.00316.63
8.3.190.0050.00717.04
8.3.180.0120.00417.12
8.3.170.0140.00422.80
8.3.160.0090.00917.16
8.3.150.0060.01317.08
8.3.140.0120.00316.84
8.3.130.0030.00518.52
8.3.120.0060.01018.82
8.3.110.0030.00620.94
8.3.100.0090.00024.06
8.3.90.0090.00326.77
8.3.80.0070.00418.43
8.3.70.0160.00018.31
8.3.60.0110.00318.55
8.3.50.0150.00316.49
8.3.40.0180.00022.17
8.3.30.0100.00719.23
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0110.00816.60
8.2.280.0150.00518.34
8.2.270.0070.01117.34
8.2.260.0040.01516.52
8.2.250.0120.00618.44
8.2.240.0090.00017.16
8.2.230.0040.01222.58
8.2.220.0000.01037.54
8.2.210.0120.00626.77
8.2.200.0090.00018.29
8.2.190.0140.00718.16
8.2.180.0180.00016.75
8.2.170.0030.01019.01
8.2.160.0080.00522.96
8.2.150.0050.00225.66
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00419.78
8.2.110.0090.00022.25
8.2.100.0040.00817.72
8.2.90.0050.00219.22
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0200.00017.63
8.2.50.0140.00517.38
8.2.40.0120.00417.50
8.2.30.0140.00217.75
8.2.20.0100.00717.50
8.2.10.0130.00317.24
8.2.00.0160.00017.74
8.1.330.0110.00916.28
8.1.320.0100.01016.11
8.1.310.0040.00416.64
8.1.300.0090.00916.23
8.1.290.0070.00330.84
8.1.280.0150.00325.92
8.1.270.0070.00724.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.93
8.1.230.0040.00719.16
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0030.00617.35
8.1.180.0080.00817.11
8.1.170.0140.00317.00
8.1.160.0060.01217.00
8.1.150.0160.00317.25
8.1.140.0120.00717.00
8.1.130.0150.00317.35
8.1.120.0140.00317.13
8.1.110.0130.00317.00
8.1.100.0080.00817.13
8.1.90.0160.00017.25
8.1.80.0100.00617.25
8.1.70.0080.00817.47
8.1.60.0140.00417.50
8.1.50.0000.01717.25
8.1.40.0160.00417.50
8.1.30.0240.00017.38
8.1.20.0090.00917.25
8.1.10.0150.00217.25
8.1.00.0110.00717.11
8.0.300.0060.00318.77
8.0.290.0070.00016.75
8.0.280.0080.00816.52
8.0.270.0070.00916.63
8.0.260.0160.00016.52
8.0.250.0120.00616.52
8.0.240.0140.00216.88
8.0.230.0090.00716.63
8.0.220.0150.00316.63
8.0.210.0130.00316.52
8.0.200.0110.00516.63
8.0.190.0120.00416.75
8.0.180.0160.00016.52
8.0.170.0100.00716.62
8.0.160.0140.00316.63
8.0.150.0160.00016.62
8.0.140.0070.01116.52
8.0.130.0130.00316.63
8.0.120.0160.00016.63
8.0.110.0080.00816.52
8.0.100.0120.00616.60
8.0.90.0160.00016.63
8.0.80.0120.00416.63
8.0.70.0140.00316.62
8.0.60.0120.00416.75
8.0.50.0180.00016.52
8.0.30.0150.00016.52
8.0.20.0200.00016.52
8.0.10.0090.00916.52

preferences:
35.27 ms | 403 KiB | 5 Q