3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = new test(); $test->setSuperSecret(); $test->exploitableExpression(); class test { private $mySuperSecretVariable; public function exploitableExpression() { $arg= '1234$this->mySuperSecretVariable'; preg_replace("/([0-9]+)(.+)/e",'list($var,$var2)=array("$1","$2")',$arg); var_dump($var,$var2); } public function setSuperSecret() { $this->mySuperSecretVariable = 'SECRET!'; } }

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.00418.81
8.3.50.0100.01221.20
8.3.40.0090.00619.02
8.3.30.0100.00718.67
8.3.20.0050.00318.53
8.3.10.0040.00420.36
8.3.00.0100.00017.59
8.2.180.0070.00718.54
8.2.170.0030.01022.96
8.2.160.0070.00722.25
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00819.71
8.2.110.0030.00721.18
8.2.100.0060.00617.91
8.2.90.0080.00019.23
8.2.80.0040.00418.04
8.2.70.0000.00917.50
8.2.60.0080.00017.80
8.2.50.0060.00318.07
8.2.40.0000.00718.09
8.2.30.0040.00419.83
8.2.20.0040.00417.64
8.2.10.0030.00517.66
8.2.00.0030.00617.75
8.1.280.0100.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00622.34
8.1.230.0120.00020.84
8.1.220.0000.00918.77
8.1.210.0050.00318.79
8.1.200.0030.00617.22
8.1.190.0050.00317.53
8.1.180.0080.00018.10
8.1.170.0040.00418.87
8.1.160.0050.00318.88
8.1.150.0030.00618.58
8.1.140.0040.00417.40
8.1.130.0030.00317.88
8.1.120.0000.00717.45
8.1.110.0000.00717.46
8.1.100.0070.00017.44
8.1.90.0070.00017.29
8.1.80.0030.00317.39
8.1.70.0000.00717.37
8.1.60.0000.00817.63
8.1.50.0040.00417.52
8.1.40.0000.00817.52
8.1.30.0070.00017.48
8.1.20.0000.00817.57
8.1.10.0050.00217.41
8.1.00.0060.00317.38
8.0.300.0040.00420.02
8.0.290.0000.01016.63
8.0.280.0050.00218.44
8.0.270.0000.00717.20
8.0.260.0070.00018.67
8.0.250.0000.00716.87
8.0.240.0030.00516.89
8.0.230.0030.00516.85
8.0.220.0030.00616.79
8.0.210.0030.00316.79
8.0.200.0050.00216.96
8.0.190.0030.00316.98
8.0.180.0040.00416.85
8.0.170.0040.00416.87
8.0.160.0070.00016.94
8.0.150.0040.00416.75
8.0.140.0000.00916.77
8.0.130.0050.00013.29
8.0.120.0040.00416.88
8.0.110.0030.00616.68
8.0.100.0070.00016.83
8.0.90.0000.00716.77
8.0.80.0100.00616.85
8.0.70.0070.00016.93
8.0.60.0070.00016.78
8.0.50.0040.00416.93
8.0.30.0120.00716.95
8.0.20.0080.01417.40
8.0.10.0040.00317.03
8.0.00.0120.00816.76
7.4.330.0000.00714.67
7.4.320.0030.00316.50
7.4.300.0040.00416.61
7.4.290.0070.00016.63
7.4.280.0040.00416.50
7.4.270.0030.00316.61
7.4.260.0000.00513.27
7.4.250.0000.00716.64
7.4.240.0040.00416.52
7.4.230.0000.00716.63
7.4.220.0030.01416.46
7.4.210.0070.00916.55
7.4.200.0030.00316.66
7.4.190.0030.00316.56
7.4.160.0080.00816.46
7.4.150.0170.00017.40
7.4.140.0110.01317.18
7.4.130.0070.01016.61
7.4.120.0100.00716.54
7.4.110.0110.00716.48
7.4.100.0140.00416.41
7.4.90.0070.01216.44
7.4.80.0080.01219.03
7.4.70.0180.00416.64
7.4.60.0100.00716.47
7.4.50.0040.00416.56
7.4.40.0070.00722.27
7.4.30.0100.01016.65
7.4.10.0110.01114.99
7.4.00.0040.01414.79
7.3.330.0000.00613.19
7.3.320.0030.00313.19
7.3.310.0060.00316.35
7.3.300.0000.00616.37
7.3.290.0090.00616.33
7.3.280.0060.00716.34
7.3.270.0110.00617.40
7.3.260.0150.00718.24
7.3.250.0150.00316.40
7.3.240.0090.00916.40
7.3.230.0170.00316.46
7.3.210.0080.00816.41
7.3.200.0140.00319.39
7.3.190.0140.00416.17
7.3.180.0140.00716.37
7.3.170.0120.00616.33
7.3.160.0070.00716.34
7.3.130.0040.01115.04
7.3.120.0060.01014.85
7.3.110.0150.00314.83
7.3.100.0080.00814.87
7.3.90.0000.01114.79
7.3.80.0060.01014.89
7.3.70.0030.01014.82
7.3.60.0030.01014.56
7.3.50.0030.01314.56
7.3.40.0030.00514.54
7.3.30.0060.00614.56
7.3.20.0030.01216.58
7.3.10.0030.00616.33
7.3.00.0070.00316.69
7.2.330.0130.00516.86
7.2.320.0100.00716.75
7.2.310.0140.00316.93
7.2.300.0100.00716.78
7.2.290.0080.00816.66
7.2.260.0100.00715.10
7.2.250.0060.01515.38
7.2.240.0090.00615.21
7.2.230.0040.01115.32
7.2.220.0000.01015.08
7.2.210.0030.01015.00
7.2.200.0050.00515.25
7.2.190.0070.00314.93
7.2.180.0060.00915.23
7.2.170.0070.00715.32
7.2.160.0040.00715.16
7.2.150.0000.01017.03
7.2.140.0100.00316.95
7.2.130.0070.00717.07
7.2.120.0070.01017.02
7.2.110.0060.01017.13
7.2.100.0100.00317.09
7.2.90.0030.00717.02
7.2.80.0100.00317.05
7.2.70.0060.01017.18
7.2.60.0040.00717.13
7.2.50.0110.00416.99
7.2.40.0000.01317.11
7.2.30.0070.00716.86
7.2.20.0030.00917.18
7.2.10.0030.01717.05
7.2.00.0030.01018.42
7.1.330.0060.00915.85
7.1.320.0060.00615.95
7.1.310.0030.00716.04
7.1.300.0030.01015.58
7.1.290.0060.00616.11
7.1.280.0030.00915.93
7.1.270.0000.01215.60
7.1.260.0120.00316.13
7.1.250.0000.01015.56
7.1.240.0090.00615.73
7.1.230.0090.00616.09
7.1.220.0030.00715.73
7.1.210.0070.00415.68
7.1.200.0030.00715.78
7.1.190.0000.01016.01
7.1.180.0080.00016.04
7.1.170.0070.00716.12
7.1.160.0000.00815.75
7.1.150.0000.00915.98
7.1.140.0070.00715.74
7.1.130.0030.01315.68
7.1.120.0070.01015.85
7.1.110.0030.00915.71
7.1.100.0090.00517.11
7.1.90.0030.01316.11
7.1.80.0000.01516.09
7.1.70.0010.00916.67
7.1.60.0070.01017.57
7.1.50.0090.00716.56
7.1.40.0070.00715.97
7.1.30.0140.00015.85
7.1.20.0040.01116.03
7.1.10.0080.00416.06
7.1.00.0020.03919.12
7.0.330.0070.00315.54
7.0.320.0060.01015.70
7.0.310.0000.00815.57
7.0.300.0040.00415.77
7.0.290.0090.00615.32
7.0.280.0030.01315.22
7.0.270.0030.01415.70
7.0.260.0070.00715.80
7.0.250.0070.00715.38
7.0.240.0100.00715.25
7.0.230.0090.00615.62
7.0.220.0050.00515.69
7.0.210.0030.00715.69
7.0.200.0100.00616.06
7.0.190.0000.01315.60
7.0.180.0040.01115.38
7.0.170.0060.00315.36
7.0.160.0040.00815.29
7.0.150.0030.01015.58
7.0.140.0030.04118.76
7.0.130.0040.00715.76
7.0.120.0070.00315.70
7.0.110.0100.04117.66
7.0.100.0090.04817.94
7.0.90.0090.02917.81
7.0.80.0110.02317.83
7.0.70.0070.02817.64
7.0.60.0100.04217.74
7.0.50.0070.04717.92
7.0.40.0070.04016.77
7.0.30.0030.03216.76
7.0.20.0110.03816.74
7.0.10.0030.03316.61
7.0.00.0130.03316.61
5.6.400.0000.01014.46
5.6.390.0100.00614.36
5.6.380.0040.01114.62
5.6.370.0070.01014.52
5.6.360.0030.01414.62
5.6.350.0030.01014.16
5.6.340.0070.00314.23
5.6.330.0070.01114.68
5.6.320.0160.00014.25
5.6.310.0090.00014.54
5.6.300.0040.00814.72
5.6.290.0060.00314.35
5.6.280.0050.03817.65
5.6.270.0030.00714.63
5.6.260.0030.02817.55
5.6.250.0120.03717.71
5.6.240.0050.04417.52
5.6.230.0130.03617.67
5.6.220.0040.03317.57
5.6.210.0030.04017.44
5.6.200.0090.04017.47
5.6.190.0050.04517.62
5.6.180.0060.04317.55
5.6.170.0100.04017.47
5.6.160.0050.02917.61
5.6.150.0040.04117.57
5.6.140.0120.04217.55
5.6.130.0090.04017.46
5.6.120.0090.04417.47
5.6.110.0070.04317.41
5.6.100.0080.04317.53
5.6.90.0070.04017.49
5.6.80.0060.04117.22
5.6.70.0080.04117.12
5.6.60.0060.03217.35
5.6.50.0050.04117.21
5.6.40.0060.04117.22
5.6.30.0070.03917.11
5.6.20.0080.02017.19
5.6.10.0030.04517.22
5.6.00.0050.04317.28
5.5.380.0050.04415.97
5.5.370.0070.04316.10
5.5.360.0050.03515.98
5.5.350.0070.02615.93
5.5.340.0080.04316.13
5.5.330.0030.03816.32
5.5.320.0060.04416.47
5.5.310.0050.04716.40
5.5.300.0070.04116.21
5.5.290.0070.04316.17
5.5.280.0030.04416.28
5.5.270.0080.03016.34
5.5.260.0040.04516.15
5.5.250.0080.04116.06
5.5.240.0040.03915.68
5.5.230.0070.04215.88
5.5.220.0060.04315.76
5.5.210.0080.03615.79
5.5.200.0090.03315.83
5.5.190.0050.03915.94
5.5.180.0060.04115.77
5.5.170.0000.01214.38
5.5.160.0020.04515.91
5.5.150.0050.04015.73
5.5.140.0030.02615.91
5.5.130.0080.03515.94
5.5.120.0020.04515.94
5.5.110.0000.04815.84
5.5.100.0050.03915.71
5.5.90.0100.03815.63
5.5.80.0110.03715.75
5.5.70.0100.03215.73
5.5.60.0030.02815.79
5.5.50.0050.04115.79
5.5.40.0080.03015.77
5.5.30.0080.04316.04
5.5.20.0020.03215.55
5.5.10.0030.04215.65
5.5.00.0070.02715.78
5.4.450.0070.02715.50
5.4.440.0050.04415.38
5.4.430.0040.04415.51
5.4.420.0080.03815.34
5.4.410.0070.04315.34
5.4.400.0050.03915.06
5.4.390.0000.04915.05
5.4.380.0070.03615.21
5.4.370.0050.03615.13
5.4.360.0050.03815.24
5.4.350.0050.03015.26
5.4.340.0080.02815.17
5.4.330.0030.00310.88
5.4.320.0070.04415.18
5.4.310.0030.04215.16
5.4.300.0100.03815.05
5.4.290.0030.04315.37
5.4.280.0030.03815.00
5.4.270.0110.03615.06
5.4.260.0060.03815.07
5.4.250.0050.03315.11
5.4.240.0030.03615.27
5.4.230.0070.03815.04
5.4.220.0050.02115.28
5.4.210.0020.02815.09
5.4.200.0080.02215.20
5.4.190.0070.03715.28
5.4.180.0050.03615.22
5.4.170.0130.03115.07
5.4.160.0050.03115.09
5.4.150.0070.04315.06
5.4.140.0080.03513.63
5.4.130.0110.03713.74
5.4.120.0110.03313.95
5.4.110.0080.03813.68
5.4.100.0090.03513.88
5.4.90.0120.02813.76
5.4.80.0090.03313.79
5.4.70.0080.03713.85
5.4.60.0050.03613.78
5.4.50.0050.03813.91
5.4.40.0080.03813.72
5.4.30.0070.03613.66
5.4.20.0050.03513.83
5.4.10.0050.04213.88
5.4.00.0020.03813.45
5.3.290.0010.04412.74
5.3.280.0090.03712.65
5.3.270.0070.04012.81
5.3.260.0050.04012.70
5.3.250.0030.04012.69
5.3.240.0020.04212.73
5.3.230.0080.02112.73
5.3.220.0090.03812.63
5.3.210.0070.04212.61
5.3.200.0090.03712.64
5.3.190.0110.03512.54
5.3.180.0060.02012.74
5.3.170.0050.03012.62
5.3.160.0060.03812.82
5.3.150.0050.03412.78
5.3.140.0090.03712.72
5.3.130.0040.04312.58
5.3.120.0080.03812.66
5.3.110.0070.03812.64
5.3.100.0060.03512.43
5.3.90.0030.03912.42
5.3.80.0080.03412.33
5.3.70.0110.03512.34
5.3.60.0070.03812.43
5.3.50.0020.03312.26
5.3.40.0070.04212.30
5.3.30.0060.03112.22
5.3.20.0080.02412.07
5.3.10.0020.04011.96
5.3.00.0080.04212.08
5.2.170.0100.03011.85
5.2.160.0030.04011.85
5.2.150.0030.06011.85
5.2.140.0100.05311.85
5.2.130.0030.06011.85
5.2.120.0100.05311.85
5.2.110.0030.06311.85
5.2.100.0030.03311.85
5.2.90.0070.04311.85
5.2.80.0070.06011.85
5.2.70.0000.06711.85
5.2.60.0070.05011.85
5.2.50.0070.06011.85
5.2.40.0070.06011.85
5.2.30.0100.05711.85
5.2.20.0030.04011.85
5.2.10.0030.06011.85
5.2.00.0000.05311.85
5.1.60.0070.05011.85
5.1.50.0070.05011.85
5.1.40.0030.05011.85
5.1.30.0030.06011.85
5.1.20.0030.05711.85
5.1.10.0100.04711.85
5.1.00.0100.05311.85
5.0.50.0100.03311.85
5.0.40.0030.04311.85
5.0.30.0100.06011.85
5.0.20.0100.03711.85
5.0.10.0070.03011.85
5.0.00.0070.05711.85
4.4.90.0030.02011.85
4.4.80.0100.03011.85
4.4.70.0070.03311.85
4.4.60.0000.04011.85
4.4.50.0000.03011.85
4.4.40.0100.05011.85
4.4.30.0030.03311.85
4.4.20.0030.03311.85
4.4.10.0000.03711.85
4.4.00.0070.03011.85
4.3.110.0000.03711.85
4.3.100.0000.03311.85
4.3.90.0030.02711.85
4.3.80.0000.04311.85
4.3.70.0030.02711.85
4.3.60.0070.01011.85
4.3.50.0000.02011.85
4.3.40.0000.03011.85
4.3.30.0030.03311.85
4.3.20.0000.02711.85
4.3.10.0100.02011.85
4.3.00.0000.01711.85

preferences:
46.54 ms | 401 KiB | 5 Q