3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = "Entering 1337 h4x0r mode, pinging Barry ...\n"; $msg = gzdeflate( $msg ); echo "$msg\n"; $msg = bin2hex( $msg ); echo "$msg\n"; exit; $msg = str_rot13( base64_encode( bin2hex( gzdeflate( "Entering 1337 h4x0r mode, pinging Barry ...\n" ) ) ) ); echo "$msg\n"; $back = gzinflate( hex2bin( base64_decode( str_rot13( $msg ) ) ) ); echo "$back\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.3.60.0110.01116.75
8.3.50.0090.00616.49
8.3.40.0000.01519.14
8.3.30.0090.00618.82
8.3.20.0040.00421.99
8.3.10.0040.00423.64
8.3.00.0000.00819.14
8.2.180.0060.01218.28
8.2.170.0090.00922.96
8.2.160.0030.01020.36
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00019.46
8.2.120.0050.00326.35
8.2.110.0030.00721.18
8.2.100.0080.00417.91
8.2.90.0030.00618.03
8.2.80.0040.00419.32
8.2.70.0000.00918.05
8.2.60.0000.00817.75
8.2.50.0040.00418.34
8.2.40.0030.00520.71
8.2.30.0040.00419.58
8.2.20.0000.00818.23
8.2.10.0000.00717.96
8.2.00.0040.00418.18
8.1.280.0040.01125.92
8.1.270.0060.00323.97
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00422.50
8.1.230.0000.01220.97
8.1.220.0000.00917.79
8.1.210.0030.00618.96
8.1.200.0060.00317.47
8.1.190.0080.00017.13
8.1.180.0080.00018.10
8.1.170.0000.00819.00
8.1.160.0030.00318.99
8.1.150.0040.00419.07
8.1.140.0070.00017.71
8.1.130.0000.00720.37
8.1.120.0000.00717.59
8.1.110.0050.00317.59
8.1.100.0050.00317.49
8.1.90.0090.00017.50
8.1.80.0000.00817.60
8.1.70.0070.00017.60
8.1.60.0000.00817.64
8.1.50.0040.00417.70
8.1.40.0000.00717.60
8.1.30.0000.00717.75
8.1.20.0040.00417.68
8.1.10.0050.00317.70
8.1.00.0030.00517.52
8.0.300.0050.00320.01
8.0.290.0050.00317.00
8.0.280.0040.00418.61
8.0.270.0070.00017.47
8.0.260.0040.00416.93
8.0.250.0070.00017.16
8.0.240.0030.00317.16
8.0.230.0030.00617.10
8.0.220.0040.00417.18
8.0.210.0000.00717.09
8.0.200.0000.00717.08
8.0.190.0040.00417.07
8.0.180.0040.00417.03
8.0.170.0090.00017.19
8.0.160.0070.00017.09
8.0.150.0040.00417.06
8.0.140.0000.00717.09
8.0.130.0060.00013.54
8.0.120.0000.00716.97
8.0.110.0000.00817.15
8.0.100.0000.00817.11
8.0.90.0000.00716.92
8.0.80.0110.01117.14
8.0.70.0000.00817.16
8.0.60.0050.00317.00
8.0.50.0040.00416.92
8.0.30.0120.00817.17
8.0.20.0060.01317.40
8.0.10.0030.00517.17
8.0.00.0120.00617.10
7.4.330.0000.00615.55
7.4.320.0030.00316.68
7.4.300.0030.00316.63
7.4.290.0030.00316.68
7.4.280.0040.00416.71
7.4.270.0000.00716.63
7.4.260.0030.00316.64
7.4.250.0000.00716.67
7.4.240.0000.00716.63
7.4.230.0000.00716.78
7.4.220.0060.00316.78
7.4.210.0080.00616.68
7.4.200.0000.00716.73
7.4.160.0090.00816.59
7.4.140.0120.00817.86
7.4.130.0130.01016.51
7.4.120.0100.00816.74
7.4.110.0090.00916.65
7.4.100.0110.01116.60
7.4.90.0140.00416.60
7.4.80.0140.01619.39
7.4.70.0060.00916.54
7.4.60.0060.01016.61
7.4.50.0070.00416.69
7.4.40.0100.00716.54
7.4.00.0060.00615.20
7.3.330.0000.00513.23
7.3.320.0030.00313.19
7.3.310.0000.00716.30
7.3.300.0030.00316.45
7.3.290.0070.00016.45
7.3.280.0060.01216.44
7.3.260.0130.00516.48
7.3.240.0070.01016.63
7.3.230.0040.01516.46
7.3.210.0030.01316.60
7.3.200.0140.00316.54
7.3.190.0060.01116.34
7.3.180.0100.00716.53
7.3.170.0100.00716.61
7.3.160.0060.00916.47
7.2.330.0110.00916.69
7.2.320.0090.00916.67
7.2.310.0180.00016.84
7.2.300.0140.00316.63
7.2.290.0120.00616.53
7.2.60.0030.01016.88
7.2.30.0190.01118.12
7.2.20.0170.01718.20
7.2.10.0160.01018.28
7.2.00.0140.00817.79
7.1.200.0090.00315.92
7.1.150.0150.01316.91
7.1.140.0130.01417.04
7.1.130.0130.01617.13
7.1.120.0110.01217.07
7.1.110.0160.01116.60
7.1.100.0180.01016.39
7.1.90.0180.01015.94
7.1.80.0290.01016.14
7.1.70.0170.01015.42
7.1.60.0320.01433.38
7.1.50.0430.01333.19
7.1.40.0350.01532.65
7.1.30.0370.01832.71
7.1.20.0290.01633.02
7.1.10.0140.00715.02
7.1.00.0170.01214.95

preferences:
32.62 ms | 400 KiB | 5 Q