3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = function (string $bar) { if (is_trusted($bar)) { echo "it's trusted!\n"; } else { echo "it can't be trusted!\n"; } }; $foo('AND 1=1 -- ');

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.30.0110.00719.48
8.5.20.0120.00719.38
8.5.10.0090.00916.69
8.5.00.0130.00820.06
8.4.180.0120.00920.56
8.4.170.0130.01020.42
8.4.160.0160.00923.85
8.4.150.0090.00416.85
8.4.140.0100.01217.86
8.4.130.0130.00618.88
8.4.120.0100.00924.04
8.4.110.0040.00520.55
8.4.100.0110.00918.73
8.4.90.0100.00722.34
8.4.80.0110.00918.77
8.4.70.0060.01318.68
8.4.60.0090.01318.83
8.4.50.0090.00820.63
8.4.40.0030.00619.38
8.4.30.0090.00620.23
8.4.20.0170.00318.76
8.4.10.0100.00619.88
8.3.300.0180.00820.79
8.3.290.0140.00620.82
8.3.280.0080.01218.41
8.3.270.0190.00716.57
8.3.260.0110.00816.45
8.3.250.0120.00719.02
8.3.240.0120.00817.38
8.3.230.0050.00418.45
8.3.220.0090.00918.86
8.3.210.0100.00818.53
8.3.200.0070.00416.66
8.3.190.0110.00718.93
8.3.180.0050.00318.97
8.3.170.0160.00318.89
8.3.160.0040.01417.09
8.3.150.0150.00316.75
8.3.140.0030.00617.35
8.3.130.0090.00018.73
8.3.120.0060.00320.71
8.3.110.0040.00420.94
8.3.100.0170.00024.06
8.3.90.0070.00426.77
8.3.80.0090.00319.36
8.3.70.0110.00716.75
8.3.60.0130.01018.43
8.3.50.0030.01018.02
8.3.40.0070.01419.21
8.3.30.0090.01218.67
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.300.0110.00922.14
8.2.290.0100.00920.44
8.2.280.0040.00418.67
8.2.270.0110.00716.82
8.2.260.0150.00316.60
8.2.250.0120.00417.09
8.2.240.0100.01017.26
8.2.230.0080.00822.58
8.2.220.0060.00337.54
8.2.210.0130.00326.77
8.2.200.0060.00318.88
8.2.190.0150.00618.41
8.2.180.0140.00425.92
8.2.170.0120.00318.91
8.2.160.0100.00722.96
8.2.150.0030.00325.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00320.67
8.2.110.0090.00020.55
8.2.100.0060.00320.58
8.1.340.0120.00817.77
8.1.330.0090.00821.80
8.1.320.0120.00716.38
8.1.310.0000.00916.20
8.1.300.0050.00520.07
8.1.290.0040.00430.84
8.1.280.0070.01125.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00318.99
8.1.230.0100.00018.86

preferences:
57.38 ms | 867 KiB | 5 Q